RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerWinSocket.Destroy Destructor

Destroys an instance of TServerWinSocket.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TServerWinSocket();

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the Windows listening socket object is not nil, and only then calls Destroy. Unless the Windows socket object is not used by a server socket component, it is freed automatically by the socket component. 

Destroy frees the helper objects that manage the list of active client connections and the thread cache. 

 

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