TCP/IP Lean: Web Servers for Embedded Systems (2nd Edition)

Author: Jeremy Bentham
List Price: $59.95
Our Price: Click to see the latest and low price
ISBN: 157820108X
Publisher: CMP Books (April, 2002)
Edition: Paperback
Sales Rank: 26,749
Average Customer Rating: 3.8 out of 5

Buy now directly from Amazon.com - Purchase this book, safely and securely from the largest book dealer on the Internet, Amazon.com

Customer Reviews

Rating: 5 out of 5
Ideal for anyone who must understand the internals of TCP/IP
I would highly recommend this book to anyone who needs to implement a complete embedded webserver, but has no prior knowledge of ethernet, ip, tcp, or http. There are a few good state diagram pictures, and snippits of C source to walk through every state. It goes above and beyond a raw technical RFC explaination and mentions features and techniques common in other implementions. This book does not cover HTTP as completely as it does the lower level protocols, but it does cover it well enough to implement a small, simple embedded webserver. Combine this book with UNIX Network Programming / W. Richard Stevens. And you have an ideal combination. TCP/IP Lean works from the bottom on up (over-the-wire transmissions) and UNIX Network Programming works from the top on down (high-level API). This book also covers SLIP, Ethernet, ARP, and other protocols. If you have to implement your own TCP/IP stack, or only want to learn the guts of what SYN, FIN, ACK, and RST mean in your packet captures, then this is a well written book.

This book does not describe BSD Sockets or any APIs. It really only covers the author's thin "API" which is really a kernel interface. That is why it's best as a low-level book, as I mentioned before UNIX Network Programming is the book you want if you need a high-level view of TCP/IP and networking in general.

Perhaps the most important feature of this book is that it tries to take you from nothing to having a TCP/IP stack in the most direct route possible. It does not try to insert all possible optimization, and infact it recommends ignoring various TCP/IP features for your first pass because they are rarely used. (For example, It mentions that without additional handling, the implementation presented can only handle 4.3Gb of data transfer per connection. This is when the sequence number address space wraps around). I consider this a good thing, keeping it simple so you can get a workable system as quickly as possible is the best route. You can bog yourself down in the details after you get a rough draft working.

I'd recommend this book as a text book for undergrad courses in TCP/IP and networking implementation, especially as a complement to any other low-level Operating Systems courses.


Rating: 2 out of 5
Disjointed documentation of the Author's Software
The second edition of the book is an expanded version of the first edition with the same, lazy, writing style. The author seems to have a problem collecting his thoughts and tends to jump around topics. The writing style is that of a technician with limited technical writing skills. CMP Books could use a good copy reviewer/editor team.

If you are attempting to learn networking protocols in general, there are higher quality books available. If your goal is to learn a network stack on an embedded processor (In particular the PIC), this is not a bad book as source code is included. To be successful and focused on the software, you'll need to invest another [$] for the PCW version of CCS's compiler, and another [$] for the Microchip PIC.net demo board (Unless you have very good prototyping skills). Note that the first edition of this book comes with the Microchip PIC.net demo board which is sufficent.


Rating: 2 out of 5
Not as great as anticipated
I bought this book based on the reviews here, and the fact that the author popped up in several Usenet groups and seemed to know what he was talking about. The title and subtitle would indicate that this was exactly the book I was looking for, and the fact that it included source was a bonus.

Unfortunately, after having the book for two weeks now, I can tell you that I've gotten far more value out of Stevens' "TCP/IP Illustrated" series.

The source code included on the CD-ROM is licensed for personal use only, and it appears that probably %90 of the code is included in hardcopy format inside the book.

Finally, the network traces are practically unreadable: it would have been easier to read if the author had used tcpdump, instead of his own style of printf's.

What I wanted was a concise guide to how to strip down TCP/IP to get it running on small systems: what I could delete, what I had to keep, and the tradeoffs of doing so. When I finish filtering through all the source code and simply focus on the text, that may be what I end up with.

But since I don't have much time, the book will probably sit on the floor, and I'll keep Stevens on the desk.

Similar Products

· MicroC OS II: The Real Time Kernel (With CD-ROM)
· USB Complete: Everything You Need to Develop Custom USB Peripherals
· TCP/IP Application Layer Protocols for Embedded Systems (With CD-ROM)
· Embedded Ethernet and Internet Complete: Designing and Programming Small Devices for Networking
· Embedded Systems Building Blocks: Complete and Ready-To-Use Modules in C

Return To Main Computer Book IndexSearch Our Entire Computer Book Catalog