CAsyncSocket::Detach

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

At a Glance

Header file: Afxsock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

SOCKET Detach( );

See Also

CAsyncSocket::Attach, CAsyncSocket::m_hSocket