Topic Path: Symbol Reference > Classes > TIdSocketHandle Class > TIdSocketHandle Properties > Handle Property
TIdSocketHandle.Handle Property

Socket handle by the protocol stack for the socket descriptor.

property Handle: TIdStackSocketHandle;

Handle is a read-only TIdStackSocketHandle property that represents the socket handle allocated by the protocol stack for the socket descriptor. 

Handle is updated in methods like AllocateSocket, Accept, CloseSocket, and Reset. When the value in Handle is updated, the list of read socket handles created in Select is updated as well. 

Handle is used in HandleAllocated to determine if the socket handle is valid.

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