Topic Path: Pending > TIdCmdTCPClient.OnConnect
ContentsIndexHome
PreviousUpNext
TIdCmdTCPClient.OnConnect

Event handler signalled after establishing the client connection.

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

OnConnect is triggered in the Connect method just prior to execution 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 OnDisconnect event handler to respond to notifications following closing of 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.