CAsyncSocket::Receive

This member function reads incoming data from a connected stream or datagram socket.

Syntax

virtual int Receive( void* lpBuf, int nBufLen, int nFlags = 0 );

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::Create, CAsyncSocket::ReceiveFrom, CAsyncSocket::Send