zig/lib/std/Io
Andrew Kelley adaef433d2 std.net.HostName.connect: rework to avoid waiting for DNS
The previous implementation would eagerly attempt TCP connection upon
receiving a DNS reply, but it would still wait for all the DNS results
before returning from the function.

This implementation returns immediately upon first successful TCP
connection, canceling not only in-flight TCP connection attempts but
also unfinished DNS queries.
2025-10-29 06:20:49 -07:00
..
net std.net.HostName.connect: rework to avoid waiting for DNS 2025-10-29 06:20:49 -07:00
Reader Fix Reader.Limited end of stream conditions 2025-10-08 17:24:38 -07:00
Dir.zig std.Io: implement dirOpenFile 2025-10-29 06:20:49 -07:00
EventLoop.zig std.Io.net.HostName: move lookup to the interface 2025-10-29 06:20:49 -07:00
File.zig std.Io.net.HostName: move lookup to the interface 2025-10-29 06:20:49 -07:00
net.zig std.Io: implement Select 2025-10-29 06:20:49 -07:00
Reader.zig std.Io.Reader: rework peekDelimiterInclusive 2025-10-08 19:30:36 -07:00
test.zig std.Io: implement dirStatPath 2025-10-29 06:20:49 -07:00
Threaded.zig std.Io: implement Select 2025-10-29 06:20:49 -07:00
tty.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
Writer.zig fix compilation errors introduced by rebasing 2025-10-29 06:20:49 -07:00