3 ms·
Beej's Guide to Network Programming Using Internet Sockets https://beej.us/guide/bgnet/ https://beej.us/guide/bgnet/
by 29athrowaway 4y ago
Beej's Guide to Network Programming Using Internet Sockets
https://beej.us/guide/bgnet/ https://beej.us/guide/bgnet/
- Waterluvian 4y agoIf 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.
- tyingq 4y agoThis seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp 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.
- deleted 4y ago[deleted]
- mr_toad 4y agohttps://en.wikipedia.org/wiki/UNIX_Network_Programming https://en.wikipedia.org/wiki/UNIX_Network_Programming Or maybe https://en.wikipedia.org/wiki/TCP/IP_Illustrated https://en.wikipedia.org/wiki/TCP/IP_Illustrated if you need to get down to the packet level.
- achillean 4y agoLove this guide. It's what got me started with network programming.
- silisili 4y agoSame. 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.
- belfalas 4y agoJulia Evans guide is a great companion: https://wizardzines.com/zines/networking/ https://wizardzines.com/zines/networking/ Very different format!