This member function detaches the SOCKET handle in the m_hSocket data member from the CAsyncSocket object and sets m_hSocket to NULL.
SOCKET Detach( );
Header file: | Afxsock.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
CAsyncSocket Overview, CAsyncSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Attach, CAsyncSocket::m_hSocket