Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPClientCustom.OnAfterBind Property

Event handler signalled after the socket handle is bound for the connection.

Pascal
property OnAfterBind: TIdNotifyEvent;

OnAfterBind is a TNotifyEvent property that represents the event handler signalled after the socket handle for the client has been bound using the Host and Port for the connection. 

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

OnAfterBind 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 OnAfterBind will cause the same procedure to be assigned to the event handler in an existing IOHandler

Use OnBeforeBind to respond to the event notification that occurs just prior to 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.