CAsyncSocket::Detach

This member function detaches the SOCKET handle in the m_hSocket data member from the CAsyncSocket object and sets m_hSocket to NULL.

Syntax

SOCKET Detach( );

At a Glance

Header file: Afxsock.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CAsyncSocket Overview, CAsyncSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Attach, CAsyncSocket::m_hSocket