| ... | @@ -3936,6 +3936,7 @@ pub fn accept( | ... | @@ -3936,6 +3936,7 @@ pub fn accept( |
| 3936 | .WSANOTINITIALISED => unreachable, // not initialized WSA | 3936 | .WSANOTINITIALISED => unreachable, // not initialized WSA |
| 3937 | .WSAECONNRESET => return error.ConnectionResetByPeer, | 3937 | .WSAECONNRESET => return error.ConnectionResetByPeer, |
| 3938 | .WSAEFAULT => unreachable, | 3938 | .WSAEFAULT => unreachable, |
| | 3939 | .WSAENOTSOCK => return error.FileDescriptorNotASocket, |
| 3939 | .WSAEINVAL => return error.SocketNotListening, | 3940 | .WSAEINVAL => return error.SocketNotListening, |
| 3940 | .WSAEMFILE => return error.ProcessFdQuotaExceeded, | 3941 | .WSAEMFILE => return error.ProcessFdQuotaExceeded, |
| 3941 | .WSAENETDOWN => return error.NetworkSubsystemFailed, | 3942 | .WSAENETDOWN => return error.NetworkSubsystemFailed, |