Internet Direct (Indy)
Home
PreviousUpNext
TIdCmdTCPClient.OnDisconnect

Event handler property signalled after closing the connection for the command handler-enabled client.

OnDisconnect is a TNotifyEvent event handler property used to respond to the notification that occurs after closing the connection for the command handler-enabled client. 

OnDisconnect is triggered in the Disconnect method immediately after termination of the listening thread for the client. 

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

Use the OnConnect event handler to respond to notifications prior to opening the peer connection for the client.

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.