mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
Io.Threaded: remove WSA_FLAG_OVERLAPPED from socket call
This commit is contained in:
parent
4b2eae32f1
commit
fd3657bf8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue