Topic Path: Pending > TIdCmdTCPClient.OnDisconnect
ContentsIndexHome
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.