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