3.1. Local Area Network Addresses

Devices connected to a LAN have their own unique physical or hardware address. This assists other machines on the network in delivering data packets to the correct location. The address is useful only in the context of a LAN, however—a machine can't be located on the Internet by using its physical address, which does not indicate the location of the machine. Indeed, machines often move from location to location, in the case of laptop or palmtop computers.

Java network programmers do not need to be concerned with the details of how data is routed within a LAN. Indeed, Java does not provide access to the lower-level data link protocols used by LANs. Supporting the wide range of protocols available would be a mammoth ...

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.