This member function obtains a pointer to a CAsyncSocket object, when you have a handle to the socket.
static CAsyncSocket* PASCAL FromHandle( SOCKET hSocket );
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::Detach