Chapter 24. Networking
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.
—Francois Giuliani
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
Objectives
In this chapter you’ll learn:
• Java networking with URLs, sockets and datagrams.
• To implement Java networking applications by using sockets and datagrams.
• To implement Java clients and servers that communicate with one another.
• To ...
Get Java™ for Programmers: Deitel Developer Series, Second 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.