Commit graph

11 commits

Author SHA1 Message Date
Andrew Kelley
3e8cc9c496 std.Io.net: progress towards DNS resolution 2025-10-02 16:30:59 -07:00
Andrew Kelley
3e828b02bd std.net: fix parsing IPv6 addr "::" 2025-10-02 16:30:59 -07:00
Andrew Kelley
0806252a9b Io.net: finish implementing IPv6 parsing 2025-10-02 16:30:59 -07:00
Andrew Kelley
888bf35ab0 Io.net: use resolve for IPv6
/etc/resolv.conf might have IPv6 addresses with scope in it, so this is
needed.
2025-10-02 16:30:59 -07:00
Andrew Kelley
dac7ae1e43 Io.net: rework IPv6 parsing and printing
extract pure functional logic into pure functions and then layer the
scope crap on top properly

the formatting code incorrectly didn't do the reverse operation
(if_indextoname). fix that with some TODO panics
2025-10-02 16:30:59 -07:00
Andrew Kelley
43eea7beec std.Io: extract Dir to separate file 2025-10-02 16:30:59 -07:00
Andrew Kelley
e34bb9a413 Io.net: partial implementation of dns lookup 2025-10-02 16:30:59 -07:00
Andrew Kelley
4e887625d4 Io.net: implement sortLookupResults 2025-10-02 16:30:59 -07:00
Andrew Kelley
676f1b492e std: start moving fs.File to Io 2025-10-02 16:30:59 -07:00
Andrew Kelley
bdf463bee2 std.Io.net: partially implement HostName.lookup 2025-10-02 16:30:59 -07:00
Andrew Kelley
07cc4077fb add some networking 2025-10-02 16:30:59 -07:00