Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:hw2_instuctions [2012/05/02 10:57]
athina
public:hw2_instuctions [2014/04/02 18:22] (current)
Line 12: Line 12:
  
 **Hints ** **Hints **
-  * Use the Java code provided ​as a starting point in the assignment+  * Follow the instructions and use the Java code provided ​at the [[http://​media.pearsoncmg.com/​aw/​aw_kurose_network_3/​labs/​lab1/​lab1.html|companion website]]
-  * For the WebServer, you can get the tcp server from the discussion ​ [[https://​eee.uci.edu/​12s/​18090/​discussion/​Socket_API_TCP_example.zip|examples]] and then  change the part of the code where the Server replies to the client (it is after the connection establishment). ​+  * For the WebServer, you can get the tcp server from the discussion ​ [[https://​eee.uci.edu/​12s/​18090/​discussion/​Socket_API_TCP_example.zip|examples]] and then  change the part of the code where the Server replies to the client (it is after the connection establishment).  You need to be able to handle multiple content types, and at the very minimum html
   * The HttpRequest must implement the Runnable interface or extend the Thread class. You must be able to run a new thread for each connection request. ​   * The HttpRequest must implement the Runnable interface or extend the Thread class. You must be able to run a new thread for each connection request. ​
   * In the README.txt file, you should write a short description of your code and indicate how to run/test yourserver.   * In the README.txt file, you should write a short description of your code and indicate how to run/test yourserver.