Internet Direct (Indy)
Home
PreviousUpNext
TIdFSP.Connect Method

Initializes an FSP client session.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.