Internet Direct (Indy) Version 9.0.2 Beta
|
property Handle: TIdStackSocketHandle;
Handle is also referred to as the socket descriptor in UNIX parlance. Socket descriptors are not presumed to correspond to a regular file handle, and native file operations such as read(), write(), and close() cannot be assumed to work correctly when applied to socket descriptors.
Handle is assigned a valid value in Accept, and AllocateSocket. The value in Handle is Id_INVALID_SOCKET prior to calling one of these methods. Handle is release in CloseSocket.
HandleAllocated reflects the current state of Handle.