News for hackers. Stuff that matters.
Re:Introduction to TCP and Sockets (2001) by Waterluvian on Tuesday July 19, 2022 @11:41PM (#32161139)
If I want to implement some rudimentary communications protocol between two machines in Rust, just for learning, is this where I should begin?

Edit: perhaps not quite. Seems like this lives “on top of” TCP or UDP. I should probably read through this then look for something like a “how to implement ICMP” guide.

Re:Introduction to TCP and Sockets (2001) by mr_toad on Wednesday July 20, 2022 @02:01AM (#32162007)
Re:Introduction to TCP and Sockets (2001) by tyingq on Wednesday July 20, 2022 @12:01AM (#32161278)
This seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp

A small-ish tcp/ip stack, in rust, that can use TAP so you're down in the weeds making the packets.