CAsyncSocket::FromHandle
Returns a pointer to a CAsyncSocket object.
static CAsyncSocket* PASCAL FromHandle(
SOCKET hSocket
);
- hSocket
Contains a handle to a socket.
A pointer to an CAsyncSocket object, or NULL if there is no CAsyncSocket object attached to hSocket.
When given a SOCKET handle, if a CAsyncSocket object is not attached to the handle, the member function returns NULL.
Header: afxsock.h