mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Io.Threaded: remove WSA_FLAG_OVERLAPPED from socket call
This commit is contained in:
committed by
Andrew Kelley
parent
4b2eae32f1
commit
fd3657bf8c
@@ -10824,7 +10824,7 @@ fn openSocketWsa(
|
||||
) !ws2_32.SOCKET {
|
||||
const mode = posixSocketMode(options.mode);
|
||||
const protocol = posixProtocol(options.protocol);
|
||||
const flags: u32 = ws2_32.WSA_FLAG_OVERLAPPED | ws2_32.WSA_FLAG_NO_HANDLE_INHERIT;
|
||||
const flags: u32 = ws2_32.WSA_FLAG_NO_HANDLE_INHERIT;
|
||||
var syscall: Syscall = try .start();
|
||||
while (true) {
|
||||
const rc = ws2_32.WSASocketW(family, @bitCast(mode), @bitCast(protocol), null, 0, flags);
|
||||
|
||||
Reference in New Issue
Block a user