Learning by Example: A Socket Transmitter Application

The “SocketTransmitter” application ties together some of the primary concepts that we have talked about in relationship to communicating using the Socket class. The application has a single form that allows you to play around with Socket messaging by entering different commands that can be sent to the server address of your choice. The application will then show you the reply you get back from the server.

Key Concepts Covered

This application showcases the following:

  • Creating a socket object

  • Binding and connecting a socket instance to its respective end points

  • Using the DNS class to resolve host names to an IPAddress instance

  • Using the IPAddress.Parse method to derive an IPAddress instance from ...

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.