Java

TOPIC 21 – CLIENT SERVER PROGRAM

 

LESSON WORK

 

 

QUESTION #1

 

Implement a simple client and server application.  If you need to, use the code in the lesson but make sure you follow each line.

QUESTION #2

Use both your client and server to do the following:

 

  • Run the server program on one computer.

  • Change the client code to reflect the server’s location (port and host name).

  • Run the client program on a different computer.

 

You can work in groups to test this out.