TCP/IP Sockets in C: Practical Guide for Programmers (Morgan Kaufmann Practical Guides)
C**R
Very good book
This book will teach you how to network program. Plus the programming examples are written in very good and proper C which is in itself is very valuable for someone learning C (especially on their own).
L**6
Great for beginners
I have not done much in the way of network programming before. Although I've taken classes on networks, and played with aspects of networks to create my own home network, I'm not very familiar with all of the basic terms and concepts.This guide was great for showing me the ropes. They cover a lot of ground quickly, so you may need to supplement the readings with some internet searching, but that's mostly for background information and getting a deeper understanding of the concept being covered.It will take you from knowing nothing to writing clients and servers for TCP or UDP.This one is great for C, and there is an equivalent for C# that uses .Net Framework wrappers. It is very up to date and still relevant. I highly recommend this.
P**N
Try a book on Linux programming instead to begin discussion on socket programming.
The packaging and condition of this book was great. The book however, may not be a great choice for explaining socket programming from the start. That was the whole reason I got it.
J**K
They won't baby you.
The authors leave it to the reader to know which header file is required for each function and data type, so it makes a good exercise to go through and write it into the code listings. Other than that, they'll walk you through an echo server which just acts as a stub for a more sophisticated algorithm, which is also a little bit of a disappointment, because there were really no more sophisticated algorithms when I skimmed through it, just different packaging for the same empty stub. It could have been more organized as well. They heap four chapters of code on you, basically assuming that you know C, only to give you a Chapter 5 review of the concept of "endedness" and data types.However, you can start to appreciate the echo server's elegant simplicity when they start covering more advanced topics like servers that implement sockets through multitasking and multliplexing towards end of the text. There's a fair amount of material about UDP in the text as well and while the headline is TCP/IP Sockets, it doesn't feel out of place at all.
T**A
Not very helpful at all
I learned more from basic internet tutorials. Despite this being a "practical guide for programmers" it neglects that I've bought a book about TCP/IP networking in C because that's what I want to learn. Great example code, maybe, but it doesn't break down examples thoroughly enough or have complex enough examples to be truly useful.
C**N
This book gets you a jump start.
This book includes enough easy to read explanations of actual working code that you can within a few hours have a client/server socket connection up and working. Both the text and the code are well written and easy to follow. Advanced information about non-blocking I/O allowed me to quickly implement background socket reads without tying up a foreground process. The annoying occurrences of "address already in use" errors is explained clearly, and how to get around them by the use of socket options. I had literally zero problems compiling and executing the examples with the gcc compiler and Ubuntu Linux.As the title says, it's a book for C programmers about sockets, not for other languages. There is a chapter on C++ use, which I have not needed yet.
J**G
Good book
Excellent Book for the beginning programmer. Especially if you are an embedded programmer.Someone above mentioned that the source code was not available. It isn't at the location in the book but it is here:http://cs.ecs.baylor.edu/~donahoo/practical/CSockets2/textcode.html
V**S
Complete code doesn't exist in book and online access no longer available
I am extremely disappointed with the fact that the Elsevier has removed online access for this book. The last page of the book states: "Thank you for your purchase. Please note that your purchase of this Elsevier eBook also includes access to an online version. Please click (or go to ebooks.elsevier.com) to request an activation code and registration instructions in order to gain acces to the web version." An attempt to access the online information from Elsevier resulted in their site indicating that the ISBN was not valid. A call to their support line revealed that even though this book is still in print and Elsevier is still selling it, they no longer offer the online access, which also means no access to the source code needed to make the examples work. Because most of the code doesn't even exist in the book (i.e. Practical.h, the various .c libraries) that are referenced in the code examples, none of this works. A total waste of time and horrible support by both the publisher and the author who failed to make sure that the code needed to make the examples work was printed in the book in the first place.
A**E
Good book but not recommended for Kindle due too poor resolution of source code fragments
I find the contents of this books very interesting if you are starting to develop sockets and this stuff.I regret not having bought it in paper format because with kindle format the provided source code fragments have very poor resolution, and even with zoom they are hard to read.
P**H
Très concret, pratique, et couvrant un large spectre de cas classiques
Bonne approche pratique de IPv6. Nombreux exemples simples et clairs. Bonne présentation, très lisible. Bonne traduction en français. Seul petit reproche : les sources des codes en exemples ne sont pas bien référencés.
J**S
good balanced book
I'm still about half way through. But I think my review title sums it up. It introduces things through code, tells you how the code works and expands on the APIs a little with context so you have a clue about why. Definitely better than any of the guides on the internet I'd previously found and read. Possibly the factor that makes me like the book lots of so many other programming books I've read and used is it doesn't start from the position of assuming it also has to teach you to program just that it needs to tell you about sockets.Another good point is it waves a large flag (OK has a paragraph in bold) saying things like don't do this or if you want to write full servers you need to deal with this.
J**O
大変参考になりました。
TCP/IPソケットを用いるアプリをLinux上で作るために必要な知識を1段ずつきちんと解説する本です。 文書のサンプルコードはLinuxのソケットライブラリーしか扱わないので 1星を引きました。 ただ、出版社からダウンロードしたサンプルコードにはWindows API用書き直したアプリもあります。
D**Y
Five Stars
Nice book and it is full of some great detail.
Trustpilot
2 days ago
1 month ago