The classic guide to UNIX networking APIs — completely updated!
° Previous editions sold over 160,000 units! Second Edition (1998) sold over 53,000 in retail alone!
° Updates coverage of programming standards, debugging techniques, and covers Operating Systems including Red Hat 9, Solaris 9, HP-UX, Free BSD 4.8/5.0, AIX 5.x, and Mac OS X.
° Bill Fenner (AT/T Labs) and Andrew Rudoff (SUN) carry on the tradition of this great work.
This is THE guide to UNIX network programming APIs. Whether you write Web servers, client/server applications, or any other network software, you need to understand networking APIS-especially sockets in greater detail than ever before. You need UNIX Network Programming, Volume 1, Third Edition. In this book, the Authors offer unprecedented, start-to-finish guidance on making the most of sockets, the de facto standard for UNIX network programming with APIs - as well as extensive coverage of the X/Open Transport Interface (XTI).
Download the Sample
Chapter related to this title.
I. INTRODUCTION AND TCP/IP.1. Introduction.
A Simple Daytime Client.
Error Handling: Wrapper Functions.
A Simple Daytime Server.
Roadmap to Client/Server Examples in the Text.
BSD Networking History.
Test Networks and Hosts.
Summary.2. The Transport Layer: TCP, UDP, and SCTP.
The Big Picture.
User Datagram Protocol (UDP).
Transmission Control Protocol (TCP).
Stream Control Transmission Protocol (SCTP).
TCP Connection Establishment and Termination.
SCTP Association Establishment and Termination.
TCP Port Numbers and Concurrent Servers.
Buffer Sizes and Limitations.
Standard Internet Services.
Protocol Usage by Common Internet Applications.
II. ELEMENTARY SOCKETS.3. Sockets Introduction.
Socket Address Structures.
Byte Ordering Functions.
Byte Manipulation Functions.
inet_aton, inet_addr, and inet_ntoa Functions.
inet_pton and inet_ntop Functions.
sock_ntop and Related Functions.
readn, writen, and readline Functions.
Summary.4. Elementary TCP Sockets.
fork and exec Functions.