RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientSocket.Destroy Destructor

Destroys an instance of TClientSocket.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!