Open main menu

RAD Studio API Documentation β

System.Net.Socket.TSocket.Destroy

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TSocket();

Properties

Type Visibility Source Unit Parent
destructor public
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TSocket

Contents

Description

Destroys this instance of TSocket.

If the socket has not been closed, Destroy closes the socket.

Exceptions

If Destroy closes the socket, it may raise some exceptions.

See Also