Freigeben über


CAsyncSocket::operator SOCKET

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

operator SOCKET( ) const;

Return Value

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

Remarks

You can use the handle to call Windows APIs directly.

Requirements

Header: afxsock.h

See Also

Concepts

CAsyncSocket Class

CAsyncSocket Members

Hierarchy Chart