If the presence of electricity can be made visible in any part of a circuit, I see no reason why intelligence may not be transmitted instantaneously by electricity.
Samuel F. B. Morse
What networks of railroads, highways and canals were in another age, the networks of telecommunications, information and computerization ... are today.
Bruno Kreisky
The port is near, the bells I hear, the people all exulting.
Walt Whitman
Protocol is everything.
Francois Giuliani
Objectives
In this chapter you will learn:
To implement networking applications that use sockets and datagrams.
To implement clients and servers that communicate with one another.
To implement network-based collaborative applications.
To construct a multithreaded server.
To use the WebBrowser class to add Web browsing capabilities to any application.
To use .NET remoting to enable an application executing on one computer to invoke methods from an application executing on a different computer.
Outline
23.1 Introduction
23.2 Connection-Oriented vs. Connectionless Communication
23.3 Protocols for Transporting Data
23.4 Establishing a Simple TCP Server Using Stream Sockets
23.5 Establishing a Simple TCP Client Using Stream Sockets
23.6 Client/Server Interaction with Stream-Socket Connections
23.7 Connectionless Client/Server Interaction with Datagrams
23.8 Client/Server Tic-Tac-Toe Using a Multithreaded Server