Open main menu

RAD Studio API Documentation β

System.Win.ScktComp.TClientSocket.Destroy

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TClientSocket(void);

Properties

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

Description

Destroys an instance of TClientSocket.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the client socket is not nil, and only then calls Destroy.

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

See Also