Commit graph

5 commits

Author SHA1 Message Date
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