CS345 Operating Systems
Spring 2004
Laboratory Assignment 2

   
The purpose of this assignment is to illustrate socket programming and to give you the opportunity to develop a simple client server application. You will be using the Java environment provided on the Windows XP machines in the CS Lab.  Be sure to complete the pre-lab activity before beginning the actual lab.

Pre-lab


Lab


                         If the server receives a  "DATE" string on port 6000 it will return the date.
                         If the server receives a "TIME" string on port 6000 it will return the time.
                         If the server receives anything else on port 6000 it will return the string  "ERROR"