3.5. Summary

This chapter delved further into IP addresses and discussed domain names and how they are represented within Java software. The InetAddress cannot be directly instantiated, but provides several static methods that can be invoked to obtain an InetAddress representing a specific IP address or hostname.

Chapter Highlights

In this chapter, you have learned:

  • About the Domain Name System (DNS) and domain name suffixes (such as .com)

  • About the structure of an IP address and the various classes of IP addresses

  • About the InetAddress class and its various methods

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.