CAsyncSocket::GetLastError
Call this member function to get the error status for the last operation that failed.
static int PASCAL GetLastError( );
Возвращаемое значение
The return value indicates the error code for the last Windows Sockets API routine performed by this thread.
Заметки
When a particular member function indicates that an error has occurred, GetLastError should be called to retrieve the appropriate error code. See the individual member function descriptions for a list of applicable error codes.
For more information about the error codes, see Windows Sockets 2 API.
Требования
Header: afxsock.h