You’ve come this far, and now you’re screaming for more! Where else can you go to learn more about all this stuff?
For old-school actual hold-it-in-your-hand pulp paper books, try some of the following excellent books. These redirect to affiliate links with a popular bookseller, giving me nice kickbacks. If you’re merely feeling generous, you can paypal a donation to beej@beej.us. :-)
Unix Network Programming, volumes 1-2 by W. Richard Stevens. Published by Addison-Wesley Professional and Prentice Hall. ISBNs for volumes 1-2: 978-013141155554, 978-013081081655.
Internetworking with TCP/IP, volume I by Douglas E. Comer. Published by Pearson. ISBN 978-013608530056.
TCP/IP Illustrated, volumes 1-3 by W. Richard Stevens and Gary R. Wright. Published by Addison Wesley. ISBNs for volumes 1, 2, and 3 (and a 3-volume set): 978-020163346757, 978-020163354258, 978-020163495259, (978-020177631760).
TCP/IP Network Administration by Craig Hunt. Published by O’Reilly & Associates, Inc. ISBN 978-059600297861.
Advanced Programming in the UNIX Environment by W. Richard Stevens. Published by Addison Wesley. ISBN 978-032163773462.
On the web:
BSD Sockets: A Quick And Dirty Primer63 (Unix system programming info, too!)
And here are some relevant Wikipedia pages:
Transmission Control Protocol (TCP)69
User Datagram Protocol (UDP)70
Serialization72 (packing and unpacking data)
RFCs73—the real dirt! These are documents that describe assigned numbers, programming APIs, and protocols that are used on the Internet. I’ve included links to a few of them here for your enjoyment, so grab a bucket of popcorn and put on your thinking cap:
RFC 174 —The First RFC; this gives you an idea of what the “Internet” was like just as it was coming to life, and an insight into how it was being designed from the ground up. (This RFC is completely obsolete, obviously!)
RFC 76875 —The User Datagram Protocol (UDP)
RFC 79176 —The Internet Protocol (IP)
RFC 79377 —The Transmission Control Protocol (TCP)
RFC 85478 —The Telnet Protocol
RFC 95979 —File Transfer Protocol (FTP)
RFC 135080 —The Trivial File Transfer Protocol (TFTP)
RFC 145981 —Internet Relay Chat Protocol (IRC)
RFC 191882 —Address Allocation for Private Internets
RFC 213183 —Dynamic Host Configuration Protocol (DHCP)
RFC 911084 —Hypertext Transfer Protocol (HTTP)
RFC 282185 —Simple Mail Transfer Protocol (SMTP)
RFC 333086 —Special-Use IPv4 Addresses
RFC 349387 —Basic Socket Interface Extensions for IPv6
RFC 354288 —Advanced Sockets Application Program Interface (API) for IPv6
RFC 384989 —IPv6 Address Prefix Reserved for Documentation
RFC 392090 —Extensible Messaging and Presence Protocol (XMPP)
RFC 397791 —Network News Transfer Protocol (NNTP)
RFC 419392 —Unique Local IPv6 Unicast Addresses
RFC 450693 —External Data Representation Standard (XDR)
The IETF has a nice online tool for searching and browsing RFCs94.
https://www.linux.com/↩︎
https://bsd.org/↩︎
https://www.illumos.org/↩︎
https://learn.microsoft.com/en-us/windows/wsl/↩︎
https://cygwin.com/↩︎
https://www.tallyhawk.net/WinsockExamples/↩︎
http://www.catb.org/~esr/faqs/smart-questions.html↩︎
https://beej.us/guide/bgnet/source/examples/telnot.c↩︎
https://tools.ietf.org/html/rfc854↩︎
https://tools.ietf.org/html/rfc793↩︎
https://tools.ietf.org/html/rfc791↩︎
https://tools.ietf.org/html/rfc768↩︎
https://tools.ietf.org/html/rfc791↩︎
https://en.wikipedia.org/wiki/Vint_Cerf↩︎
https://en.wikipedia.org/wiki/ELIZA↩︎
https://www.iana.org/assignments/port-numbers↩︎
https://en.wikipedia.org/wiki/Doom_%281993_video_game%29↩︎
https://en.wikipedia.org/wiki/Wilford_Brimley↩︎
https://tools.ietf.org/html/rfc1918↩︎
https://tools.ietf.org/html/rfc4193↩︎
https://www.iana.org/assignments/port-numbers↩︎
https://beej.us/guide/bgnet/source/examples/showip.c↩︎
https://tools.ietf.org/html/rfc1413↩︎
https://beej.us/guide/bgnet/source/examples/server.c↩︎
https://beej.us/guide/bgnet/source/examples/client.c↩︎
https://beej.us/guide/bgnet/source/examples/listener.c↩︎
https://beej.us/guide/bgnet/source/examples/talker.c↩︎
https://libevent.org/↩︎
https://beej.us/guide/bgnet/source/examples/poll.c↩︎
https://beej.us/guide/bgnet/source/examples/pollserver.c↩︎
https://libevent.org/↩︎
https://beej.us/guide/bgnet/source/examples/select.c↩︎
https://beej.us/guide/bgnet/source/examples/selectserver.c↩︎
https://en.wikipedia.org/wiki/Internet_Relay_Chat↩︎
https://beej.us/guide/bgnet/source/examples/pack.c↩︎
https://en.wikipedia.org/wiki/IEEE_754↩︎
https://beej.us/guide/bgnet/source/examples/ieee754.c↩︎
https://beej.us/guide/url/tpop↩︎
https://github.com/protobuf-c/protobuf-c↩︎
https://beej.us/guide/bgnet/source/examples/pack2.c↩︎
https://beej.us/guide/bgnet/source/examples/pack2.c↩︎
https://tools.ietf.org/html/rfc4506↩︎
For the record, I love cats. They’re the best. I’ve had many beloved feline companions over the years. Though I acknowledge the some object to this morbid, figurative expression whose etymology has been lost to time, I think this portion of the guide is best served by its use.↩︎
https://beej.us/guide/bgnet/source/examples/broadcaster.c↩︎
http://www.unpbook.com/src.html↩︎
http://www.unpbook.com/src.html↩︎
https://www.openssl.org/↩︎
https://stackoverflow.com/questions/21323023/↩︎
https://www.iana.org/assignments/port-numbers↩︎
https://www.iana.org/assignments/port-numbers↩︎
https://man.archlinux.org/man/htobe64↩︎
https://gcc.gnu.org/onlinedocs/gcc/Byte-Swapping-Builtins.html↩︎
https://beej.us/guide/bgnet/source/examples/htonll.c↩︎
https://beej.us/guide/url/unixnet1↩︎
https://beej.us/guide/url/unixnet2↩︎
https://beej.us/guide/url/intertcp1↩︎
https://beej.us/guide/url/tcpi1↩︎
https://beej.us/guide/url/tcpi2↩︎
https://beej.us/guide/url/tcpi3↩︎
https://beej.us/guide/url/tcpi123↩︎
https://beej.us/guide/url/tcpna↩︎
https://beej.us/guide/url/advunix↩︎
https://cis.temple.edu/~giorgio/old/cis307s96/readings/docs/sockets.html↩︎
https://developerweb.net/?f=70↩︎
http://www.faqs.org/faqs/internet/tcp-ip/tcp-ip-faq/part1/↩︎
https://tangentsoft.net/wskfaq/↩︎
https://en.wikipedia.org/wiki/Berkeley_sockets↩︎
https://en.wikipedia.org/wiki/Internet_Protocol↩︎
https://en.wikipedia.org/wiki/Transmission_Control_Protocol↩︎
https://en.wikipedia.org/wiki/User_Datagram_Protocol↩︎
https://en.wikipedia.org/wiki/Client-server↩︎
https://en.wikipedia.org/wiki/Serialization↩︎
https://www.rfc-editor.org/↩︎
https://tools.ietf.org/html/rfc1↩︎
https://tools.ietf.org/html/rfc768↩︎
https://tools.ietf.org/html/rfc791↩︎
https://tools.ietf.org/html/rfc793↩︎
https://tools.ietf.org/html/rfc854↩︎
https://tools.ietf.org/html/rfc959↩︎
https://tools.ietf.org/html/rfc1350↩︎
https://tools.ietf.org/html/rfc1459↩︎
https://tools.ietf.org/html/rfc1918↩︎
https://tools.ietf.org/html/rfc2131↩︎
https://tools.ietf.org/html/rfc9110↩︎
https://tools.ietf.org/html/rfc2821↩︎
https://tools.ietf.org/html/rfc3330↩︎
https://tools.ietf.org/html/rfc3493↩︎
https://tools.ietf.org/html/rfc3542↩︎
https://tools.ietf.org/html/rfc3849↩︎
https://tools.ietf.org/html/rfc3920↩︎
https://tools.ietf.org/html/rfc3977↩︎
https://tools.ietf.org/html/rfc4193↩︎
https://tools.ietf.org/html/rfc4506↩︎
https://tools.ietf.org/rfc/↩︎