We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
completion.handle()
v.socket
1 parent a3eec8f commit 4d6c9b4Copy full SHA for 4d6c9b4
src/backend/iocp.zig
@@ -547,7 +547,7 @@ pub const Loop = struct {
547
.connect => |*v| action: {
548
const as_socket = asSocket(v.socket);
549
// Associate our socket with loop's completion port.
550
- self.associate_fd(v.socket) catch unreachable;
+ self.associate_fd(completion.handle().?) catch unreachable;
551
552
// ConnectEx requires socket to be initially bound.
553
// https://github.com/tigerbeetle/tigerbeetle/blob/main/src/io/windows.zig#L467
0 commit comments