November 2025
Intermediate to advanced
852 pages
26h
English
We begin this chapter by reviewing basic networking concepts, then move on to writing Java programs that connect to network services. We will show you how network clients and servers are implemented. Finally, you will see how to send e-mail from a Java program and how to harvest information from a web server.
In the following sections, you will connect to a server, first by hand and with telnet, and then with a Java program.
The telnet program is a great debugging tool for network programming. You should be able to launch it by typing telnet from a command shell.
In Windows, you need to activate telnet. Go to the Control Panel, select Programs, click Turn Windows ...
Read now
Unlock full access