Chapter 18, “Writing Client-Server Applications Using java.net

Computers on the Internet communicate by exchanging packets of data, known as Internet Protocol (IP) packets.

All computers on the Internet are identified using one or more IP addresses. A computer can have more than one IP address if it has more than one interface to a network. Notice that an IP address (such as 142.118.0.1) is actually mapped to a NIC card's physical address (such as 00-20-20-A9-0D-11). For example, it is common for servers to have multiple NIC cards and multiple IP addresses.

IP addresses are 32-bit numbers. They can be written in decimal, hexadecimal, or other formats, but the most common format is dotted decimal notation. This format breaks up the 32-bit address ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.