Disconnected Event
Fires when a client disconnects.
Syntax
type TDisconnectedEvent = procedure ( Sender: TObject; ConnectionId: Integer ) of Object;
property OnDisconnected: TDisconnectedEvent read FOnDisconnected write FOnDisconnected;
Remarks
This event fires when a client disconnects. The ConnectionId parameters identifies the client that is disconnected.