Java 2 Primer Plus

   

Java™ 2 Primer Plus

By Steven Haines, Steve Potts

Table of Contents
Chapter 20.  Network Programming

1:

Create a program that sends your address and telephone number over a socket from a client to a server. Use the ObjectStream classes.

2:

Create a program where the server adds 10 to a number that it is passed via a socket. Return the new value to the client program.

3:

Modify Exercise 1 to use the PrintWriter and BufferedReader classes for I/O.

4:

Create a program to download the HTML code from your favorite Web site.


       
    Top
     

    Категории