System.Net.Socket.TSocket.GetClientSocket

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetClientSocket(Handle: TSocketHandle; const Addr: sockaddr_in): TSocket; virtual;

C++

virtual TSocket* __fastcall GetClientSocket(NativeUInt Handle, const sockaddr_in &Addr);

Properties

Type Visibility Source Unit Parent
function protected
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TSocket

Description

Creates an instance of TSocket that your server socket or your listening socket can use for communicating with a connected client and returns the created TSocket instance.

GetClientSocket accepts the following parameters:

  • Handle: The handle of the client socket.
  • Addr: The address of the client socket.

See Also