Beej's Guide to Network Programming

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

Get started with low level sockets (e.g. TCP or UDP) programming using C and POSIX.

By Kurtis Mullins