Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Show:
© 2015 Microsoft