We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ecb6c commit ef8db03Copy full SHA for ef8db03
lib/std/posix.zig
@@ -3936,6 +3936,7 @@ pub fn accept(
3936
.WSANOTINITIALISED => unreachable, // not initialized WSA
3937
.WSAECONNRESET => return error.ConnectionResetByPeer,
3938
.WSAEFAULT => unreachable,
3939
+ .WSAENOTSOCK => return error.FileDescriptorNotASocket,
3940
.WSAEINVAL => return error.SocketNotListening,
3941
.WSAEMFILE => return error.ProcessFdQuotaExceeded,
3942
.WSAENETDOWN => return error.NetworkSubsystemFailed,
0 commit comments