RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinSocketStream.Destroy Destructor

Destroys an instance of TWinSocketStream.

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

Do not call Destroy directly in an application. Instead call Free. Free verifies that the TWinSocketStream reference is not nil and only then calls Destroy. 

Free the TWinSocketStream object when it is no longer needed for reading from or writing to the socket connection. 

Destroy frees the helper objects allocated in the Create method before calling the default destructor. 

 

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