mirror of
https://github.com/ziglang/zig.git
synced 2026-01-30 03:03:46 +00:00
std.posix.accept: add WSAENOTSOCK
This commit is contained in:
parent
97ecb6c551
commit
ef8db03d52
@ -3936,6 +3936,7 @@ pub fn accept(
|
||||
.WSANOTINITIALISED => unreachable, // not initialized WSA
|
||||
.WSAECONNRESET => return error.ConnectionResetByPeer,
|
||||
.WSAEFAULT => unreachable,
|
||||
.WSAENOTSOCK => return error.FileDescriptorNotASocket,
|
||||
.WSAEINVAL => return error.SocketNotListening,
|
||||
.WSAEMFILE => return error.ProcessFdQuotaExceeded,
|
||||
.WSAENETDOWN => return error.NetworkSubsystemFailed,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user