Topic Path: Symbol Reference > Classes > TIdFSP Class > TIdFSP Methods > Connect Method
TIdFSP.Connect Method

Initializes an FSP client session.

procedure Connect; override;

Connect is an overidden procedure used initialize a session on the FSP client. The Connect method name is a bit of a misnomer; FSP is connectionless protocol using the UDP transport. Connect does not establish a physical connection to remote host, but sets the default values for internal member variables used during FSP protocol exchanges. 

Connect sets the value of the ServerMaxPacketSize property to the value DEF_MAXSIZE

Use the Version method determine the capabilities implemented on the remote FSP connection. 

Use the Disconnect method to free any buffer space allocated for the FSP client, and to send the CC_BYE command used in the FSP protocol. 

Connect calls the inherited Connect method prior to exiting from the method.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.