Chapter 6 Examples
Example 6-1:
A program that prints the address of www.oreilly.com
Example 6-2:
A program that prints the address of 208.201.239.37
Example 6-3:
A program that prints all the addresses of www.microsoft.com
Example 6-4:
Find the address of the local machine
Example 6-5:
Given the address, find the hostname
Example 6-6:
Find the IP address of the local machine
Example 6-7:
Print the IP address of the local machine
Example 6-8:
Testing the characteristics of an IP address
(Java 1.4 and later)
Example 6-9:
Are www.ibiblio.org and helios.metalab.unc.edu the same?
Example 6-10:
A program that lists all the network interfaces
Example 6-11:
An nslookup clone
Example 6-12:
Process web server log files
(This program uses
SafeBufferedReader
from Chapter 4.)
Example 6-13:
PooledWeblog
(This program uses
SafeBufferedReader
from Chapter 4.)
Example 6-14:
LookupThread
[
Previous Chapter
|
Next Chapter
|
Examples from Other Chapters
|
Java Network Programming Home
|
Other Books by Elliotte Rusty Harold
]
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified December 11, 2004