InfoQ

News

Book Review: C# Network Programming

Posted by Jonathan Allen on Oct 09, 2008 06:37 AM

Community
.NET
Topics
Tags
C#

Normally we review new books, but occasionally an older book is just too good to ignore. Richard Blum's C# Network Programming is one such book. Focusing on low-level network programming, this book is just as applicable today as it was when .NET 1.0 was new. And though titled "C#", this book is applicable to any .NET language.

The first chapter is the seemingly obligatory introduction to C#. This should be ignored by everyone, as it is not enough to teach C# from ground zero and the chapter is common knowledge for everyone else.

Next up is IP Programming Basics. If all you know about network programming is that it is important, this is a good place to start. Ranging from its roots in UNIX programming, this chapter touches on all of the points you would expect to see covered in a college level course on sockets and TCP/IP. And while it does not go into excessive depth, it does give the reader a solid background and the vocabulary needed for further research.

For those of you who already know how to read a UDP packet header, chapter 3 is your starting point. This provides an introduction to network programming with .NET and serves as the basis for the rest of book. Even if you already know all the classes in the System.Network namespace, this chapter is still worth reading.

Chapter 4 goes into how DNS works, and is probably contains more information than most people need.

Part II, chapters 5 thru 10, are all technique specific. Briefly they are in order, Connection-Oriented Sockets, Connectionless Sockets, the Sockets Helper Classes, Asynchronous Sockets, Threads, and IP Multicasting.

Part III covers higher level protocols including ICMP, SNMP, SMTP, and HTTP. When possible, the author presents the pre-built .NET classes for using these protocols. For the ones not built-in like POP3, the author presents instructions to build your own.

All in all this book is a must have for anyone doing network programming in .NET.

C# Network Programming
Richard Blum

No comments

Watch Thread Reply

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.