CAsyncSocket::OnReceive

This member function is called by the framework to notify the socket that there is data in the buffer that can be retrieved by calling the Receive member function. Override this member function if you want to do some special processing.

Syntax

virtual void OnReceive( int nErrorCode );

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::OnAccept, CAsyncSocket::OnClose, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnSend, CAsyncSocket::Receive, ::GetLastError