ScktComp.TCustomSocket

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ScktComp.pas

TCustomSocket = class(TAbstractSocket)


Unit: ScktComp

Type: class

Inherited Class Members: ScktComp.TCustomSocket Members

Class Events: ScktComp.TCustomSocket Events

C++ Information

From ScktComp.hpp

TCustomSocket = class(TAbstractSocket)


Unit: ScktComp

Type: class

Inherited Class Members: ScktComp.TCustomSocket Members

Class Constructors & Destructors: ScktComp.TCustomSocket Constructors

Class Events: ScktComp.TCustomSocket Events

Description

TCustomSocket is the base class for socket components.


Override TCustomSocket to create a socket component that can be assigned event handlers for the events and error conditions that occur. In addition to the properties and methods introduced by TAbstractSocket that enable an application to work with Windows sockets, TCustomSocket introduces several events that can be used by applications.

Do not create instances of TCustomSocket. Use a descendant of TCustomSocket to add the ability to communicate with other machines using TCP/IP. To create a socket that initiates the connection with another machine, use TClientSocket. To create a socket that responds to requests for connections from other machines, use TServerSocket.

See Also

Personal tools
Translations
Newest Version