Internet Direct (Indy) Version 9.0.1 Beta
|
property OnDisconnect: TIdServerThreadEvent;
OnDisconnect receives AThread as a parameter, representing the TIdPeerThread thread that is requesting to be disconnected.
Assign a TIdServerThreadEvent event handler procedure to OnDisconnect.