static CAsyncSocket* PASCAL FromHandle( SOCKET hSocket );
Return Value
A pointer to an CAsyncSocket object, or NULL if there is no CAsyncSocket object attached to hSocket.
Parameters
hSocket
Contains a handle to a socket.
Remarks
Returns a pointer to a CAsyncSocket object. When given a SOCKET handle, if a CAsyncSocket object is not attached to the handle, the member function returns NULL.
CAsyncSocket Overview | Class Members | Hierarchy Chart
See Also CSocket::FromHandle, CAsyncSocket::Attach, CAsyncSocket::Detach