Topic Path: Symbol Reference > Classes > TIdTCPClientCustom Class > TIdTCPClientCustom Properties > OnConnected Property
TIdTCPClientCustom.OnConnected Property

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

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.

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