The DetachHandle method detaches the server socket
handle associated with the current instance of the class.
Parameters
None.
Return Value
This method returns the server socket associated with the current
instance of the class object. If the server is not active, the value
INVALID_SOCKET will be returned.
Remarks
This method is used to detach a server handle created by the class
for use with the SocketWrench API. Once the server handle is detached
from the class, no other class member functions may be called.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cswsock12.h
Import Library: cswskv12.lib
See Also
|