Topic Path: Symbol Reference > Classes > TIdTCPClient Class > TIdTCPClient Properties > OnBeforeBind Property
TIdTCPClient.OnBeforeBind Property

Event handler signalled proper to binding the socket handle for the connection.

property OnBeforeBind: TIdNotifyEvent;

OnBeforeBind is a published TNotifyEvent property in TIdTCPClient. OnBeforeBind represents the event handler signalled prior to binding the socket handle using the Host and Port for the connection. 

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

OnBeforeBind is assigned to the event handler of the same name found in the Socket property when an IOHandler is assigned for the client connection. Assigning a new procedure to OnBeforeBind will cause the same procedure to be assigned to the event handler in an existing IOHandler

Use OnAfterBind to respond to the event notification that occurs after binding the socket handle for the connection.

IOHandler OnAfterBind 



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