System.Win.ScktComp.TServerWinSocket.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(ASocket: TSocket);

C++

__fastcall TServerWinSocket(NativeInt ASocket);

Properties

Type Visibility Source Unit Parent
constructor public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TServerWinSocket

Description

Creates an instance of TServerWinSocket from a Windows socket handle.

Call Create to create a Windows listening socket object. Windows listening socket objects are created automatically by the server socket component that uses them.

Create allocates the helper objects that manage the list of active client connections and the thread cache before calling the inherited constructor. Create also initializes the ASyncStyles property to [asAccept].

See Also