System.Win.ScktComp.TServerClientWinSocket.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TServerClientWinSocket();

Properties

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

Description

Destroys an instance of TServerClientWinSocket.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TServerClientWinSocket reference is not nil, and only then calls Destroy. Instances of TServerClientWinSocket are freed automatically when the connection is closed.

Destroy removes the TServerClientWinSocket from the list of connections maintained by the listening windows socket.

See Also