Commit graph

16 commits

Author SHA1 Message Date
Andrew Kelley
8d03ec6766 std.Io.net: implement receiving connectionless messages 2025-10-02 16:30:59 -07:00
Andrew Kelley
96cf75977b std.Io: implement netSend 2025-10-02 16:30:59 -07:00
Andrew Kelley
47f18ee6a0 std.Io.net: make netSend support multiple messages
this lowers to sendmmsg on linux, and means Io.Group is no longer
needed, resulting in a more efficient implementation.
2025-10-02 16:30:59 -07:00
Andrew Kelley
46e5068e48 std.Io.net.HostName: finish implementing DNS lookup 2025-10-02 16:30:59 -07:00
Andrew Kelley
79b807bf1c Io.net: implement more networking
the next task is now implementing Io.Group
2025-10-02 16:30:59 -07:00
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