Internet Direct (Indy) Version 9.0.2 Beta
TIdConnectionIntercept.Connect
Responds to connection notifications.

procedure Connect(AConnection: TComponent); virtual;
Parameters
AConnection: TComponent
Socket handle for the connection.

Description
Connect is procedure used to inform the TIdConnectionIntercept that the socket has successfully completed a connection. ABinding is the TIdSocketHandle socket descriptor that generates the connection notification, and is stored in Binding.

Connect generates a TNotifyEvent event when the OnConnect event handler has been assigned to respond to the connection event.

Connect is a virtual method in TIdConnectionIntercept, and can be re-implemented in descendant classes to provide additional connection handling appropriate to the socket handler.