Chapter 3. Internet Addressing

Unlike local area networks (LANs), the Internet is a vast collection of machines and devices spread out across the nation and the world. When there are hundreds of millions (and eventually many billions) of computers and devices attached to a network, the need to identify and locate a specific one is obviously important. Indeed, one of the most fundamental concepts in network programming is that of the network address. Without it, there would be no way of identifying the sender of a data packet or where the packet must be sent.

Chapter 1 included a preliminary discussion of network addresses. The theory behind such addresses was covered in brief, so as to give the reader a basic understanding of how addresses work. ...

Get Java™ Network Programming and Distributed Computing 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.