This method obtains a pointer to a CAsyncSocket object, given a handle to the socket.
| 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 |
static CAsyncSocket* WINSOCKAPI FromHandle(SOCKET hSocket);
CAsyncSocket::Attach, CAsyncSocket::Detach