System.Win.ScktComp.TCustomWinSocket.SocketHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SocketHandle: TSocket read FSocket;

C++

__property NativeInt 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.

See Also