Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerSocket.BindingAllocated Method

Determines if the socket handle for the IOHandler has been assigned.

Pascal
function BindingAllocated: Boolean;

Boolean - True when the socket handle has been allocated for the IOHandler.

BindingAllocated is a Boolean function used to determine if the socket handle for the IOHandler has been assigned. BindingAllocated checks for a valid TIdSocketHandle instance in Binding, and determines if the socket handle has been allocated using the IP protocol stack. 

BindingAllocated is used in the Connected method and prior to writing to Binding after a change in the UseNagel property.

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.