CAsyncSocket::FromHandle

This method obtains a pointer to a CAsyncSocket object, given a handle to the socket.

At a Glance

Header file: Afxsock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

static CAsyncSocket* WINSOCKAPI FromHandle(SOCKET hSocket);

See Also

CAsyncSocket::Attach, CAsyncSocket::Detach