Internet Direct (Indy)
Home
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.

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.