RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerClientWinSocket.Destroy Destructor

Destroys an instance of TServerClientWinSocket.

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!