Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPClientCustom.OnConnected Property

Event handler signalled to reflect the connection state for the client.

Pascal
property OnConnected: TIdNotifyEvent;

OnConnected is a published TNotifyEvent property that represents the event handler signalled to indicate the change in the connection state for the client. 

OnConnected is triggered in the Connect method after allocating and opening the IOHandler for the connection, and signalling the OnStatus event handler. 

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

Use OnStatus to handle the informational message that includes the Host name or IP address for the connection.

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.