Virtual void OnClose ( int nErrorCode );
Parametri
nErrorCode
L'errore più recente su un socket. I seguenti codici di errore si applicano alla funzione membro OnClose:
Osservazioni
Chiamato dal framework di notificare questo socket che il socket connesso è chiuso dal suo processo. 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::Close, CAsyncSocket::GetLastError, CAsyncSocket::OnAccept, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend