CAsyncSocket::Receive

This method reads incoming data from a connected stream or datagram 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

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

See Also

CAsyncSocket::Create, CAsyncSocket::ReceiveFrom, CAsyncSocket::Send