RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerWinSocket.Create Constructor

Creates an instance of TServerWinSocket from a Windows socket handle.

Pascal
constructor Create(ASocket: TSocket);
C++
__fastcall TServerWinSocket(TSocket ASocket);

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]. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!