Summary

The networking classes exposed in the class library represent a very powerful tool for the Visual Basic .NET developer. The ease with which developers can perform complex operations, coupled with the capability to write low-level network functions, represents a large step forward from Visual Basic's previous abilities in this arena.

In this chapter, we examined:

  • Socket programming using the System.Net.Sockets namespace

  • Sending and receiving TCP/IP network traffic using the TCPListener and TCPClient classes

  • Using HTTP-specific, as well as protocol-agnostic, classes to issue requests to Web servers and react to their responses

  • How to employ a typical .NET design pattern with the networking classes to allow applications to issue and receive ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.