Export (0) Print
Expand All

CAsyncSocket::FromHandle 

Returns a pointer to a CAsyncSocket object.


static CAsyncSocket* PASCAL FromHandle(
   SOCKET hSocket 
);

Parameters

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.

Community Additions

ADD
Show:
© 2015 Microsoft