Virtual void OnReceive ( int nErrorCode );
Parametri
nErrorCode
L'errore più recente su un socket. I seguenti codici di errore si applicano alla funzione membro OnReceive:
Osservazioni
Chiamato dal framework di notificare questo socket che esistono dati nel buffer che può essere recuperato chiamando la funzione membro di ricezione . Per ulteriori informazioni, vedere l'articolo Windows Sockets: notifiche Socket nel manuale del programmatore di Visual C++.
CAsyncSocket panoramica |nbsp; Membri della classe | Gerarchia Chart
Vedere a&nchenbsp;CAsyncSocket::GetLastError, CAsyncSocket::OnAccept, CAsyncSocket::OnClose, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnSend, CAsyncSocket::Receive