Topic Path: Symbol Reference > Classes > TIdIOHandlerSocket Class > TIdIOHandlerSocket Methods > BindingAllocated Method
ContentsIndexHome
PreviousUpNext
TIdIOHandlerSocket.BindingAllocated Method

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.