- Handle STATUS_REMOTE_NOT_LISTENING
authorCameron Gutman <aicommander@gmail.com>
Sun, 3 Aug 2008 09:52:22 +0000 (09:52 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sun, 3 Aug 2008 09:52:22 +0000 (09:52 +0000)
svn path=/branches/aicom-network-fixes/; revision=35062

dll/win32/msafd/misc/dllmain.c

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