Virtual void OnAccept ( int nErrorCode );
Parametri
nErrorCode
L'errore più recente su un socket. I seguenti codici di errore si applica alla funzione membro OnAccept:
Osservazioni
Chiamato dal framework per notificare un socket in ascolto che esso può accettare richieste di connessione in sospeso chiamando la funzione membro Accept . 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::Accept, CAsyncSocket::GetLastError, CAsyncSocket::OnClose, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend