23. Networking: Streams-Based Sockets and Datagrams
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
Protocol is everything.
What networks of railroads, highways and canals were in another age, the networks of telecommunications, information and computerization ... are today.
The port is near, the bells I hear, the people all exulting.
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 ...