O'Reilly logo

TCP/IP Sockets in C# by Kenneth L. Calvert, Michael J. Donahoo, David Makofske

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

chapter 5 Under the Hood

Some of the subtleties of network programming are difficult to grasp without some understanding of the data structures associated with the socket implementation and certain details of how the underlying protocols work. This is especially true of TCP sockets (i.e., instances of TcpClient, TcpListener, or a TCP instance of Socket). This chapter describes some of what goes on in the runtime implementation when you create and use an instance of Socket or one of the higher level TCP classes that utilize sockets. Unless specifically stated otherwise, references to the behavior of the Socket class in this chapter also apply to TcpClient and TcpListener classes, which create Socket instances “under the hood.” (The initial discussion ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required