
UNIX Network Programming, Volume 1, Second Edition: Networking APIs: Sockets and XTI, Prentice Hall, 1998, ISBN 0-13-490012-X.
- Table of Contents (PostScript) (HTML) (ASCII)
- Preface (PostScript) (HTML)
- Sample chapter: Chapter 11: Advanced Name and Address Conversions,
57 pages (PDF, 280K) (PostScript, 561K).
This chapter contains the description of the Posix.1g getaddrinfo function, along with a complete implementation that supports IPv4, IPv6, and Unix domain sockets. Also provided are six functions (tcp_connect, udp_client, etc.) that call getaddrinfo, which can simplify writing protocol-independent network programs to run under IPv4 and IPv6.
- Index (HTML). A friend told me whenever she picks up a book at a bookstore she always goes to the index to look for certain terms, to see if the topics are covered in the book. Here is the complete index for the book, which should be easily searchable with a browser.
- Additional Information: What is in it, and when will it be available.
- Current errata.
- Source code for all examples in the book (226K compressed tar file).
README file for the source code.
Reported problems building the source code. - An example of how to write raw datalink frames using the libpcap library. This is an extension to Chapter 26 and was hinted to at the top of page 708.
- Order it now (In association with Amazon.com Books).
- Here is a 280K GIF image of pages 92-93 from about a year before the book was finished. I use this as an example of the type of rewriting and rewriting that takes place as a book is written.
- An interview of the author about details of this book.