Chapter 24. Browsing the Network Libraries

In This Chapter

  • Implementing Sockets

  • Working with HTTP

The C# language has access to an entire suite of networking libraries. Some of the capabilities range from low-level socket connections to wrappered HTTP classes.

An understanding of the TCP/IP protocol would be helpful in understanding the sockets implementation. However, I have tried to explain it in a way that most programmers will understand. The examples demonstrate a client and a server communicating with the TCP/IP protocol, using socket library classes.

It would also be advantageous to understand the HTTP protocol. The HTTP example implements a client program that requests a Web page from an Internet server. It uses special library objects ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.