Indy 9
OnBeforeClientConnect
See Also
Signals a client connection to a host.
Description
OnBeforeClientConnect is a TBeforeClientConnectEvent event handler used to respond to event notifications generated when an outbound client is about to connect to a remote host.

AThread is the TIdPeerThread for the client opening the connection.

AClient is the TIdTCPClient created for the local connection the host computer.

Applications must assign a procedure to the event handler to allow response to the event notification.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.