CAsyncSocket::FromHandle

This member function obtains a pointer to a CAsyncSocket object, when you have a handle to the socket.

Syntax

static CAsyncSocket* PASCAL FromHandle( SOCKET hSocket );

At a Glance

Header file: Afxsock.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CAsyncSocket Overview, CAsyncSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Attach, CAsyncSocket::Detach