CS 596 Client-Server Programming
[To Assignments Index]
San Diego State University -- This page last updated February 26, 1996
Assignment 3 - My First Server
Due March 5
1) Write, compile and run a Java program that reads a string from the standard
input and prints to the standard output "You typed: " + the input string +
"Server by your name here". So if the input is
- Hi Mom
the output would be
- You typed: Hi Mom Server by Roger Whitney
That is assuming your name is Roger Whitney
2) Run the program as a server using doserver. Test the server using telnet
What to turn in!
- Nothing. Demo the program for either instructor.