CAsyncSocket::OnClose
Called by the framework to notify this socket that the connected socket is closed by its process.
virtual void OnClose(
int nErrorCode
);
Параметры
nErrorCode
The most recent error on a socket. The following error codes apply to the OnClose member function:0 The function executed successfully.
WSAENETDOWN The Windows Sockets implementation detected that the network subsystem failed.
WSAECONNRESET The connection was reset by the remote side.
WSAECONNABORTED The connection was aborted due to timeout or other failure.
Заметки
For more information, see Windows Sockets: Socket Notifications.
Требования
Header: afxsock.h