Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerSocket.OnSocketAllocated Property

Event handler property signalled when the socket handle has been allocated in the Binding for the IOHandler.

Pascal
property OnSocketAllocated: TIdNotifyEvent;

OnSocketAllocated is a TNotifyEvent event handler property signalled when the socket handle in the Binding for the IOHandler has been allocated. 

OnSocketAllocated is triggered in the ConnectClient method after the OnBeforeBind event handler has been triggered and following assignment of IPVersion to the corresponding property in Binding

OnSocketAllocated is triggered before assigment of values for the IP and Port number for the Binding using BoundIP, BoundPortMin and BoundPortMax, and before calling the Bind method for the socket handle. 

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

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.