RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientSocket Class

TClientSocket manages socket connections for a TCP/IP client.

Pascal
TClientSocket = class(TCustomSocket);
C++
class TClientSocket : public TCustomSocket;

Add a TClientSocket object to a form or data module to turn an application into a TCP/IP client. TClientSocket specifies a desired connection to a TCP/IP server, manages the connection when it is open, and terminates the connection when the application is through.

Note: See the CHAT demo for an example of how to use TClientSocket.
 

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