Exercises

   

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
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net