TCP/IP Sockets in C#: Practical Guide for Programmers (The Morgan Kaufmann Series in Data Management Systems)
A**R
Very comprehensive
Even though the book was written 20 years ago (this is 2024), I found the book very complete with its examples and explanations of the various calls and API parameters...something Microsoft does rather poorly. I highly recommend this to anyone who is staring TCP or UDP in the face for the first time.
D**.
A good practical manual
This book teaches TCP Socket programming using C# in a very efficient step-by-step manner.Unlike many other books on .NET that I have, this one does not just give you code samples and leave you to scratch your head trying to figure out what's going on there. Instead, it analyzes all code samples line-by-line, leaving you virtually no questions to ask.I gave this book 4 stars only because I was particularly interested in using multithreading with sockets for the project I'm working on, and this book's chapter on threading is surprisingly weak.Other than that, it's a great manual to start with if you need to learn how to write socket apps in .NET.
J**Y
Just What I Needed
I'm a physicist by education, but find myself as a software developer these days. I taught myself C#, C++, Matlab, etc, out of necessity, but don't really know what the heck I'm doing. My latest challenge is to write a custom network protocol to send multiple files over a satellite connection in a reliable manner, but with less overhead than, say, FTP. If you've ever googled such a task (as of 2013 at least), you'll know that the resources online are sparse, and code examples aren't great. Although this book was published almost 9years ago, it is still completely relevant, and breaks easy to follow. It explains the concept of Sockets, as well as TcpListener, and TcpClient (which are C# abstractions built on top of the Socket Class) in great manner. Code examples are presented, and then a summary of each class used, and what each method used does. I highly recommend this book if you're tackling any C# network programming.
M**E
Brilliant!
This book delivers a good understanding of sockets. I have read one or two other books regarding the subject. The thing I like about this one is A) the whole book is dedicated to it. B) Its explanations are probably the best I have read regarding any topic in programming. Remember first starting C++, and the first chapters of the book taught you how to add integers? You kind of sit there saying "Yeah, Yeah, get on with the hard stuff". As a total compliment: That is how this books makes you feel about sockets! The explanations and examples almost make it impossible to believe it is really that simple.
A**R
Good book
Really good book, but a little out dated. But still very helpful
R**N
" ... beyond the scope of this book ..."
I made the mistake of assuming that this book would contain information necessary to write TCP/IP networking programs that were production-quality. After all, the sales info here at Amazon includes a quote from a Microsoft person saying, "... on the other hand professionals could also take advantage of excellent handy sample code snippets ...".Unfortunately, this book, while a good introduction to the subject, never gets beyond the play toy level of programming.The good news is that chapter 5, "Under the hood", did contain some information that was new to me. The idea that an improperly-designed TCP/IP protocol could result in a deadlock was an eye-opener.The bad news is that chapter 5 (22 pages) was the only part of the book containing interesting information for anyone who has done any work with TCP/IP in C#. Especially disappointing was "Appendix: Handling Socket Errors", which consists of a two-page listing of socket error codes and no information whatsoever on how to handle socket errors.The whole book is only 170 pages. I got rather tired of the phrase " ... beyond the scope of this book ..." being used again and again. Chapter 3, "Sending and Receiving Messages" (26 pages) consists mostly (about 75%) of discussions of how to encode and decode (serialize/deserialize) data - an interesting and necessary bit of processing but totally unrelated to the book's subject matter.As far as I can determine the web-based material referenced in the book is no longer available. (And a search on the publisher's website resulted in some kind of PHP error - way to go for an IT technology publisher!)OK for beginners, but definitely not of professional programming.Rennie Petersen
A**E
Great explanation of TCP/IP Sockets!
I really enjoyed this book after reading many others on BSD based socket development. The asynchronous techniques and patterns used here were a much better design.
M**S
The Perfect Book With Perfect Examples
I loved this book!I bought this book not knowing anything about sockets. All I knew was that I had to use them for my next project. I bought this book, and within 2 weeks time had developed a full-scale proof-of-concept, distributed, client-server type application communicating over TCP/IP and using UDP for multicasting.The examples are concise and practical, including examples of data framing/parsing and how to deal with different wire formats (big/little endian).This book is a must-have for any serious C# programmer.
I**C
Es lo que esperaba
Me ha ido bien.
R**5
un pò datato ma molto chiaro
il rapporto qualità prezzo è ottimo, il testo è molto chiaro e l'argomento è trattato in modo sufficientemente esaustivo. Ovviamente non è aggiornato alla sintassi c# più recente che consente di implementare in modo un po' più semplificato la programmazione asincrona. Comunque, per avere di meglio, è necessario andare su testi decisamente più costosi.
P**E
Four Stars
Good beginner's book. It helps.
M**Y
Livre Kindle très difficile à lire
Le contenu est plutot bon,pour une entréé en matiere dans le sujetmais les listings sont quasi-illisibles sur mon Kindle, d'ou une crise de nerfs.Préférer la versions imprimée.
M**N
Just what you need to know about TCP/IP
Everything you need to know about sockets in .net. There is no needless stuffing in that book! This book presents top to buttom approach. Starts with easy things and goes deeper stating why you need to go deeper. From TcpClient/TpcListener through UdpClient and Socket class. The approach here is: use lower level classes only if you need. Apart from socket classes, it includes information about other techniques, which you need to know to use sockets effciently (Encoding, Streams, Parsing, Threading, Async and Buffering)Highly recommended!!!!!
Trustpilot
2 months ago
1 month ago