TCP/IP Illustrated, Volume 3

TCP/IP Illustrated, Volume 3 : TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols (paperback)

5 (1 rating by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 1 business day

When will my order arrive?

Available. Expected delivery to the United States in 6-9 business days.

Not ordering to the United States? Click here.
Expected to be delivered to the United States by Christmas Expected to be delivered to the United States by Christmas


"TCP/IP Illustrated," an ongoing series covering the many facets of TCP/IP, brings a highly-effective visual approach to learning about this networking protocol suite. "TCP/IP Illustrated, Volume 2" contains a thorough explanation of how TCP/IP protocols are implemented. There isn't a more practical or up-to-date bookothis volume is the only one to cover the de facto standard implementation from the 4.4BSD-Lite release, the foundation for TCP/IP implementations run daily on hundreds of thousands of systems worldwide. Combining 500 illustrations with 15,000 lines of real, working code, "TCP/IP Illustrated, Volume 2" uses a teach-by-example approach to help you master TCP/IP implementation. You will learn about such topics as the relationship between the sockets API and the protocol suite, and the differences between a host implementation and a router. In addition, the book covers the newest features of the 4.4BSD-Lite release, including multicasting, long fat pipe support, window scale, timestamp options, and protection against wrapped sequence numbers, and many other topics. Comprehensive in scope, based on a working standard, and thoroughly illustrated, this book is an indispensable resource for anyone working with TCP/IP.
show more

Product details

  • Paperback | 352 pages
  • 100 x 100 x 100mm | 100g
  • Addison Wesley
  • Boston, United States
  • English
  • 0134457102
  • 9780134457109
  • 911,781

Back cover copy

Praised by reviewers and practicing TCP/IP programmers alike, the TCP/IP Illustrated series examines the many facets of the TCP/IP protocol suite using a unique and highly-effective visual approach that describes the inner workings of TCP/IP with detail, insight, and clarity.

Volume 3 provides detailed coverage of four essential topics with which today's TCP/IP programmers and network administrators must be thoroughly familiar:

T/TCP (TCP for Transactions), an extension to TCP that makes client-server transactions faster, more efficient, and more reliable;

HTTP (Hypertext Transfer Protocol), the foundation for the rapidly expanding World Wide Web;

NNTP (the Network News Transfer Protocol), the basis for the Usenet news system; and

UNIX Domain Protocols, a set of protocols used heavily in UNIX implementations.

As in the previous two volumes, the book is filled with examples and implementation details within the 4.4BSD-Lite networking code.

The TCP/IP Illustrated series provides a complete picture of the protocol suite that drives the Internet, and gives programmers, system administrators, and serious users the information, understanding, and skills they need to remain at the forefront of networking technology.

show more

Table of contents

( Most chapters open with "Introduction" and conclude with "Summary".)


1. T/TCP Introduction.


UDP Client-Server.

TCP Client-Server.

T/TCP Client-Server.

Test Network.

Timing Example.





2. T/TCP Protocol.


New TCP Options for T/TCP.

T/TCP Implementation Variables.

State Transition Diagram.

T/TCP Extended States.


3. T/TCP Examples.


Client Reboot.

Normal T/TCP Transaction.

Server Receives Old Duplicate SYN.

Server Reboot.

Request or Reply Exceeds MSS.

Backward Compatibility.


4. T/TCP Protocol (Continued).


Client Port Numbers and TIME_WAIT State.

Purpose of the TIME_WAIT State.

TIME_WAIT State Truncation.

Avoiding the Three-Way Handshake with TAO.


5. T/TCP Implementation: Socket Layer.



sosend Function.


6. T/TCP Implementation: Routing Table.


Code Introduction.

radix_node_head Structure.

rtentry Structure.

rt_metrics Structure.

in_inithead Function.

in_addroute Function.

in_matroute Function.

in_clsroute Function.

in_rtqtimo Function.

in_rtqkill Function.


7. T/TCP Implementation: Protocol Control Blocks


in_pcbladdr Function.

in_pcbconnect Function.


8. T/TCP Implementation: TCP Overview


Code Introduction.

TCP protosw Structure.

TCP Control Block.

tcp_init Function.

tcp_slowtimo Function.


9. T/TCP Implementation: TCP Output


tcp_output Function.


10. T/TCP Implementation: TCP Functions


tcp_newtcpcb Function.

tcp_rtlookup Function.

tcp_gettaocache Function.

Retransmission Timeout Calculations.

tcp_close Function.

tcp_msssend Function.

tcp_mssrcvd Function.

tcp_dooptions Function.

tcp_reass Function.


11. T/TCP Implementation: TCP Input


Preliminary Processing.

Header Prediction.

Initiation of Passive Open.

Initiation of Active Open.

PAWS: Protection Against Wrapped Sequence Numbers.

ACK Processing.

Completion of Passive Opens and Simultaneous Opens.

ACK Processing (Continued).

FIN Processing.


12. T/TCP Implementation: TCP User Requests.



tcp_connect Function.


tcp_usrclosed Function.

tcp_sysctl Function.

T/TCP Futures.



13. HTTP: Hypertext Transfer Protocol.


Introduction to HTTP and HTML.

HTTP Protocol.

An Example.

HTTP Statistics.

Performance Problems.


14. Packets Found on an HTTP Server.


Multiple HTTP Servers.

Client SYN Interarrival Time.

RTT Measurements.

listen Backlog Queue.

Client SYN Options.

Client SYN Retransmissions.

Domain Names.

Timing Out Persist Probes.

Simulation of T/TCP Routing Table Size.

Mbuf Interaction.

TCP PCB Cache and Header Prediction.


15. NNTP: Network News Transfer Protocol.


NNTP Protocol.

A Simple News Client.

A More Sophisticated News Client.

NNTP Statistics.



16. Unix Domain Protocols: Introduction.




Coding Examples.


17. Unix Domain Protocols: Implementation.


Code Introduction.

Unix domain and protosw Structures.

Unix Domain Socket Address Structures.

Unix Domain Protocol Control Blocks.

uipc_usrreq Function.

PRU_ATTACH Request and unp_attach Function.

PRU_DETACH Request and unp_detach Function.

PRU_BIND Request and unp_bind Function.

PRU_CONNECT Request and unp_connect Function.

PRU_CONNECT2 Request and unp_connect2 Function.

socketpair System Call.

pipe System Call.


PRU_DISCONNECT Request and unp_disconnect Function.

PRU_SHUTDOWN Request and unp_shutdown Function.

PRU_ABORT Request and unp_drop Function.

Miscellaneous Requests.


18. Unix Domain Protocols: I/O and Descriptor Passing.
Appendix A. Measuring Network Times.

RTT Measurements Using Ping.

Protocol Stack Measurements.

Latency and Bandwidth.

Appendix B. Coding Applications for T/TCP.
show more

About W. Stevens

We are deeply saddened to learn of the death of noted author W. Richard Stevens. His passing is obviously a tremendous loss for the technical community, but it is a personal one for us as well. Rich was both a gifted colleague and a valued friend who will be greatly missed. We extend our sympathies to his family.

Obituary from the Arizona Daily Star:

STEVENS, W. Richard, noted author of computer books died on September 1. He is best known for his "UNIX Network Programming" series (1990, 1998, 1999), "Advanced Programming in the UNIX Environment" (1992), and "TCP/IP Illustrated" series (1994, 1995, 1996). Richard was born in 1951 in Luanshya, Northern Rhodesia (now Zambia), where his father worked for the copper industry. The family moved to Salt Lake City, Hurley, New Mexico, Washington, DC and Phalaborwa, South Africa. Richard attended Fishburne Military School in Waynesboro, Virginia. He received a B.SC. in Aerospace Engineering from the University of Michigan in 1973, and an M.S. (1978) and Ph.D. (1982) in Systems Engineering from the University of Arizona. He moved to Tucson in 1975 and from then until 1982 he was employed at Kitt Peak National Observatory as a computer programmer. From 1982 until 1990 he was Vice President of Computing Services at Health Systems International in New Haven, CT, moving back to Tucson in 1990. Here he pursued his career as an author and consultant. He was also an avid pilot and a part-time flight instructor during the 1970's. He is survived by his loving wife of 20 years, Sally Hodges Stevens; three wonderful children, Bill, Ellen and David; sister, Claire Stevens of Las Vegas, NV; brother, Bob and wife Linda Stevens of Dallas, TX; nieces, Laura, Sarah, Collette, Christy; and nephew, Brad. He is predeceased by his parents, Royale J. Stevens (1915-1984); and Helen Patterson Stevens (1916-1997). Helen lived in Tucson from 1991-1997, and Royale lived here in the early 1930's attending Tucson High School while his father was treated for TB at the Desert Sanitorium (now TMC). The family asks that in lieu of flowers, donations be made in Richard's name to Habitat for Humanity, 2950 E. 22nd Street, Tucson, AZ 85713. A memorial service for Richard will be held at St. Phillip's in the Hills Episcopal Church on Tuesday, September 7th at 12:00 noon. Following the service there will be a reception in the Murphy Gallery of the Church. Please wear colorful clothing to the service; Richard loved colors.

W. Richard Stevens was an acknowledged UNIX and networking expert and the highly-respected author of several books. He was also a sought-after instructor and consultant.

show more

Rating details

1 rating
5 out of 5 stars
5 100% (1)
4 0% (0)
3 0% (0)
2 0% (0)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X