Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPClientCustom.OnBeforeBind Property

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

Pascal
property OnBeforeBind: TIdNotifyEvent;

OnBeforeBind is a TNotifyEvent property that 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.

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.