Chapter 9 Examples
Example 9-1:
Find out which of the first 1,024 ports seem to be hosting TCP servers on a specified host
Example 9-2:
Find out which of the ports at or above 1,024 seem to be hosting TCP servers
Example 9-3:
Get a socket’s information
Example 9-4:
A daytime protocol client
Example 9-5:
A time protocol client
Example 9-6:
An echo client
Example 9-7:
Look for ports with socket closing
Example 9-8:
A Java command-line finger client
Example 9-9:
A command-line whois client
Example 9-10:
The Whois class
(This program uses
SafeBufferedReader
from Chapter 4.)
Example 9-11:
A graphical Whois client interface
[ |
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 November 6, 2004