The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAsyncSocket::operator SOCKET


Use this operator to retrieve the SOCKET handle of the CAsyncSocket object.

operator SOCKET( ) const;

If successful, the handle of the SOCKET object; otherwise, NULL.

You can use the handle to call Windows APIs directly.


Header: afxsock.h