Internet Direct (Indy) Version 9.0.1 Beta
TIdSocketHandle.HandleAllocated
Specifies the validity of the socket handle.

property HandleAllocated: Boolean;
Description
HandleAllocated is a read-only Boolean property that indicates if Handle is a valid socket descriptor.

HandleAlocated is True when a valid socket descriptor has been created in AllocateSocket or Accept. HandleAllocated is False when a socket descriptor has not been selected, or the value of Handle is Id_INVALID_SOCKET.

HandleAllocated is used to allow sockets, altered using SetSockOpt, to indicate that the socket handle is no longer available for send and receive operations.