- Handle STATUS_REMOTE_NOT_LISTENING

svn path=/branches/aicom-network-fixes/; revision=35062
This commit is contained in:
Cameron Gutman 2008-08-03 09:52:22 +00:00
parent 221590c8f7
commit 6286fe5bb6

View file

@ -288,6 +288,7 @@ DWORD MsafdReturnWithErrno( NTSTATUS Status, LPINT Errno, DWORD Received,
case STATUS_BUFFER_OVERFLOW: *Errno = WSAEMSGSIZE; break; case STATUS_BUFFER_OVERFLOW: *Errno = WSAEMSGSIZE; break;
case STATUS_INSUFFICIENT_RESOURCES: *Errno = WSA_NOT_ENOUGH_MEMORY; break; case STATUS_INSUFFICIENT_RESOURCES: *Errno = WSA_NOT_ENOUGH_MEMORY; break;
case STATUS_INVALID_CONNECTION: *Errno = WSAEAFNOSUPPORT; break; case STATUS_INVALID_CONNECTION: *Errno = WSAEAFNOSUPPORT; break;
case STATUS_REMOTE_NOT_LISTENING: *Errno = WSAECONNRESET; break;
default: default:
DbgPrint("MSAFD: Error %x is unknown\n", Status); DbgPrint("MSAFD: Error %x is unknown\n", Status);
*Errno = WSAEINVAL; break; *Errno = WSAEINVAL; break;