This method attaches an hSocket handle to a CSocket object. The SOCKET handle is stored in the object's m_hSocket data member.
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 |
BOOL Attach( SOCKET hSocket );
CAsynCSocket::Attach, CAsynCSocket::m_hSocket