Event handler signalled after the socket handle is bound for the connection.
property OnAfterBind: TIdNotifyEvent;
OnAfterBind is a published TNotifyEvent property in TIdTCPClient. OnAfterBind 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.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.