RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientSocket.Create Constructor

Creates an instance of TClientSocket.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TClientSocket(TComponent * AOwner);

Call Create to create and initialize a client socket component at runtime. TClientSocket objects placed at design time are created automatically. 

After calling the inherited constructor, Create 

Allocates the TClientWinSocket object that describes the client endpoint of the Windows socket connection.  

I initializes the event and error dispatchers for the client socket. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!