System.Win.ScktComp.TWinSocketStream.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TWinSocketStream();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TWinSocketStream |
Description
Destroys an instance of 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.