CSocketWrench::~CSocketWrench  
 
~CSocketWrench();

The CSocketWrench destructor releases resources allocated by the current instance of the CSocketWrench object. It also uninitializes the library if there are no other concurrent uses of the class.

Remarks

When a CSocketWrench object goes out of scope, the destructor is automatically called to allow the library to free any resources allocated on behalf of the process. Any pending blocking or asynchronous calls in this process are canceled without posting any notification messages, and all handles that were created for the connection are destroyed.

The destructor is not called explicitly by the application.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header: Include cswsock10.h
Import Library: cswskv10.lib

See Also

CSocketWrench