1. https://docs.python.org/3/library/socket.html
2. https://ruby-doc.org/stdlib-2.5.3/libdoc/socket/rdoc/Socket....
Edit: This is a more up to date link. I don't think the library has changed since 2.5.3, but I usually try to look at latest documentation: https://ruby-doc.org/stdlib-3.1.2/libdoc/socket/rdoc/Socket....
That being said, this book teaches network programming from the ground up so I would recommend understanding how to compile and output C code, then go through the book.
If you run into keywords, or syntax that you are not familiar with, just google it, and then keep working through the examples.
Mind you, the key takeaways from this book are not how to network practice IN C, but general practices. This knowledge can be applied to plenty of other languages such as Rust.
The way I learned C is I printed out the Beej's guide client/server code and walked around staring at it until it made sense. (That and compiling/running it and looking up functions in the man pages.)
I also really like K&R2 and Van der Linden.
If you're looking for something up to date I'd recommend this:
Could you elaborate on the "unbuffered shell output" comment?
In other words, you will know when you need it - unless you forget it exists (note: bookmarking it might be a good idea, cause you could remember something like this exists but "what was the name again?").