19Networking

OVERVIEW

This chapter takes a practical approach to networking by mixing examples with a discussion of relevant theory and networking concepts as appropriate. This chapter is not a guide to computer networking but an introduction to using .NET for network communication.

This chapter shows you how to create both clients and servers using network protocols. It starts with utility classes such as IPAddress, IPHostEntry, and Dns before digging into programming with sockets. Here, sockets are used to show the functionality of communication ...

Get Professional C# and .NET, 2021st Edition 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.