System.Win.ScktComp.TClientSocket

From RAD Studio API Documentation
Jump to: navigation, search

System.Win.ScktComp.TCustomSocketSystem.Win.ScktComp.TAbstractSocketSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTClientSocket

Delphi

TClientSocket = class(TCustomSocket)

C++

class PASCALIMPLEMENTATION TClientSocket : public TCustomSocket

Properties

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

Description

TClientSocket manages socket connections for a TCP/IP client.

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 Room Socket code example for an example of how to use TClientSocket.

See Also