RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.SocketHandle Property

Specifies the Windows handle for the socket.

Pascal
property SocketHandle: TSocket;
C++
__property TSocket SocketHandle;

Use SocketHandle for Windows socket API calls that require the handle to the socket. When the Connected property is false, SocketHandle is INVALID_SOCKET. 

SocketHandle is set to a valid Windows socket handle by the Listen or Open method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!