examples |
|
Java Source File Name | Type | Comment |
chargen.java | Class | This is an example program demonstrating how to use the CharGenTCPClient
and CharGenUDPClient classes. |
daytime.java | Class | This is an example program demonstrating how to use the DaytimeTCP
and DaytimeUDP classes.
This program connects to the default daytime service port of a
specified server, retrieves the daytime, and prints it to standard output.
The default is to use the TCP port. |
echo.java | Class | This is an example program demonstrating how to use the EchoTCPClient
and EchoUDPClient classes. |
finger.java | Class | This is an example of how you would implement the finger command
in Java using NetComponents. |
ftp.java | Class | This is an example program demonstrating how to use the FTPClient class.
This program connects to an FTP server and retrieves the specified
file. |
fwhois.java | Class | This is an example of how you would implement the Linux fwhois command
in Java using NetComponents. |
IOUtil.java | Class | This is a utility class providing a reader/writer capability required
by the weatherTelnet, rexec, rshell, and rlogin example programs.
The only point of the class is to hold the static method readWrite
which spawns a reader thread and a writer thread. |
mail.java | Class | This is an example program using the SMTP package to send a message
to the specified recipients. |
messages.java | Class | This is an example program demonstrating how to use the POP3Client class. |
PrintCommandListener.java | Class | This is a support class for some of the example programs. |
rdate.java | Class | This is an example program demonstrating how to use the TimeTCPClient
and TimeUDPClient classes. |
rexec.java | Class | This is an example program demonstrating how to use the RExecClient class.
This program connects to an rexec server and requests that the
given command be executed on the server. |
rlogin.java | Class | This is an example program demonstrating how to use the RLoginClient
class. |
rshell.java | Class | This is an example program demonstrating how to use the RCommandClient
class. |
server2serverFTP.java | Class | This is an example program demonstrating how to use the FTPClient class.
This program arranges a server to server file transfer that transfers
a file from host1 to host2. |
TelnetClientExample.java | Class | This is a simple example of use of TelnetClient. |
tftp.java | Class | This is an example of a simple Java tftp client using NetComponents. |
weatherTelnet.java | Class | This is an example of a trivial use of the TelnetClient class.
It connects to the weather server at the University of Michigan,
um-weather.sprl.umich.edu port 3000, and allows the user to interact
with the server via standard input. |