System.Win.ScktComp.TCustomWinSocket.SocketHandle
Delphi
property SocketHandle: TSocket read FSocket;
C++
__property int SocketHandle = {read=FSocket, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TCustomWinSocket |
Description
Specifies the Windows handle for the socket.
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.