Internet Direct (Indy) Version 9.0.2 Beta
TIdSimpleServer.ListenHandle
Represents the socket handle for the listener thread.

property ListenHandle: TIdStackSocketHandle;
Description
ListenHandle is a read-only TIdStackSocketHandle property that represents the socket handle allocated for the server lister thread. ListenHandle contains Id_INVALID_SOCKET when no socket handle has been allocated for the listener thread.

ListenHandle is updated in Create, Bind, and Listen.