News for hackers. Stuff that matters.
Re:Introduction to TCP and Sockets (2001) by 29athrowaway on Tuesday July 19, 2022 @10:47PM (#32160760)
Beej's Guide to Network Programming Using Internet Sockets

https://beej.us/guide/bgnet/

Re:Introduction to TCP and Sockets (2001) by belfalas on Wednesday July 20, 2022 @12:46AM (#32161522)
Julia Evans guide is a great companion: https://wizardzines.com/zines/networking/

Very different format!

Re:Introduction to TCP and Sockets (2001) by achillean on Wednesday July 20, 2022 @12:02AM (#32161280)
Love this guide. It's what got me started with network programming.
Re:Introduction to TCP and Sockets (2001) by silisili on Wednesday July 20, 2022 @12:47AM (#32161527)
Same. It is my single favorite piece of programming literature that exists, and I'm an avid reader!

If anyone cares, 'Code' is a close second. Different styles and uses, I'm just judging on utility to me.

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.