10 More References
You’ve come this far, and now you’re screaming for more! Where else can you go to learn more about all this stuff?
10.1 Books
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-0131411555[^54], 978-0130810816[^55].
Internetworking with TCP/IP, volume I by Douglas E. Comer. Published by Pearson. ISBN 978-0136085300[^56].
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-0201633467[^57], 978-0201633542[^58], 978-0201634952[^59], (978-0201776317[^60]).
TCP/IP Network Administration by Craig Hunt. Published by O’Reilly & Associates, Inc. ISBN 978-0596002978[^61].
Advanced Programming in the UNIX Environment by W. Richard Stevens. Published by Addison Wesley. ISBN 978-0321637734[^62].
10.2 Web References
On the web:
BSD Sockets: A Quick And Dirty Primer[^63] (Unix system programming info, too!)
The Unix Socket FAQ[^64]
TCP/IP FAQ[^65]
The Winsock FAQ[^66]
And here are some relevant Wikipedia pages:
Berkeley Sockets[^67]
Transmission Control Protocol (TCP)[^69]
User Datagram Protocol (UDP)[^70]
Client-Server[^71]
Serialization[^72] (packing and unpacking data)
10.3 RFCs
RFCs[^73]—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 1[^74] —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 768[^75] —The User Datagram Protocol (UDP)
RFC 791[^76] —The Internet Protocol (IP)
RFC 793[^77] —The Transmission Control Protocol (TCP)
RFC 854[^78] —The Telnet Protocol
RFC 959[^79] —File Transfer Protocol (FTP)
RFC 1350[^80] —The Trivial File Transfer Protocol (TFTP)
RFC 1459[^81] —Internet Relay Chat Protocol (IRC)
RFC 1918[^82] —Address Allocation for Private Internets
RFC 2131[^83] —Dynamic Host Configuration Protocol (DHCP)
RFC 9110[^84] —Hypertext Transfer Protocol (HTTP)
RFC 2821[^85] —Simple Mail Transfer Protocol (SMTP)
RFC 3330[^86] —Special-Use IPv4 Addresses
RFC 3493[^87] —Basic Socket Interface Extensions for IPv6
RFC 3542[^88] —Advanced Sockets Application Program Interface (API) for IPv6
RFC 3849[^89] —IPv6 Address Prefix Reserved for Documentation
RFC 3920[^90] —Extensible Messaging and Presence Protocol (XMPP)
RFC 3977[^91] —Network News Transfer Protocol (NNTP)
RFC 4193[^92] —Unique Local IPv6 Unicast Addresses
RFC 4506[^93] —External Data Representation Standard (XDR)
The IETF has a nice online tool for searching and browsing RFCs[^94].
[^43]: 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. [^44]: https://beej.us/guide/bgnet/source/examples/broadcaster.c [^45]: http://www.unpbook.com/src.html [^46]: http://www.unpbook.com/src.html [^47]: https://www.openssl.org/ [^48]: https://stackoverflow.com/questions/21323023/ [^49]: https://www.iana.org/assignments/port-numbers [^50]: https://www.iana.org/assignments/port-numbers [^51]: https://man.archlinux.org/man/htobe64 [^52]: https://gcc.gnu.org/onlinedocs/gcc/Byte-Swapping-Builtins.html [^53]: https://beej.us/guide/bgnet/source/examples/htonll.c [^54]: https://beej.us/guide/url/unixnet1 [^55]: https://beej.us/guide/url/unixnet2 [^56]: https://beej.us/guide/url/intertcp1 [^57]: https://beej.us/guide/url/tcpi1 [^58]: https://beej.us/guide/url/tcpi2 [^59]: https://beej.us/guide/url/tcpi3 [^60]: https://beej.us/guide/url/tcpi123 [^61]: https://beej.us/guide/url/tcpna [^62]: https://beej.us/guide/url/advunix [^63]: https://cis.temple.edu/~giorgio/old/cis307s96/readings/docs/sockets.html [^64]: https://developerweb.net/?f=70 [^65]: http://www.faqs.org/faqs/internet/tcp-ip/tcp-ip-faq/part1/ [^66]: https://tangentsoft.net/wskfaq/ [^67]: https://en.wikipedia.org/wiki/Berkeley\_sockets [^68]: https://en.wikipedia.org/wiki/Internet\_Protocol [^69]: https://en.wikipedia.org/wiki/Transmission\_Control\_Protocol [^70]: https://en.wikipedia.org/wiki/User\_Datagram\_Protocol [^71]: https://en.wikipedia.org/wiki/Client-server [^72]: https://en.wikipedia.org/wiki/Serialization [^73]: https://www.rfc-editor.org/ [^74]: https://tools.ietf.org/html/rfc1 [^75]: https://tools.ietf.org/html/rfc768 [^76]: https://tools.ietf.org/html/rfc791 [^77]: https://tools.ietf.org/html/rfc793 [^78]: https://tools.ietf.org/html/rfc854 [^79]: https://tools.ietf.org/html/rfc959 [^80]: https://tools.ietf.org/html/rfc1350 [^81]: https://tools.ietf.org/html/rfc1459 [^82]: https://tools.ietf.org/html/rfc1918 [^83]: https://tools.ietf.org/html/rfc2131 [^84]: https://tools.ietf.org/html/rfc9110 [^85]: https://tools.ietf.org/html/rfc2821 [^86]: https://tools.ietf.org/html/rfc3330 [^87]: https://tools.ietf.org/html/rfc3493 [^88]: https://tools.ietf.org/html/rfc3542 [^89]: https://tools.ietf.org/html/rfc3849 [^90]: https://tools.ietf.org/html/rfc3920 [^91]: https://tools.ietf.org/html/rfc3977 [^92]: https://tools.ietf.org/html/rfc4193 [^93]: https://tools.ietf.org/html/rfc4506 [^94]: https://tools.ietf.org/rfc/