System.Win.ScktComp.TServerClientThread.ServerSocket

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ServerSocket: TServerWinSocket read FServerSocket;

C++

__property TServerWinSocket* ServerSocket = {read=FServerSocket};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TServerClientThread

Description

Specifies the TServerWinSocket object that manages all the TServerClientThread objects for its client connections.

Use ServerSocket to get direct access to the listening Windows socket object that spawned the thread for a client connection it accepted. TServerClientThread passes events and errors to the appropriate event handlers assigned to ServerSocket. TServerClientThread adds itself to the cache of threads maintained by ServerSocket from its constructor, and removes itself when the thread terminates.

See Also