CInternetServer::~CInternetServer  
 
~CInternetServer();

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

Remarks

When a CInternetServer 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. If there are any clients connected to the server at the time the destructor is called, those client sessions will be immediately terminated.

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

CInternetServer