Differences

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

Link to this comparison view

public:hw2_instuctions [2012/05/02 10:57]
athina
public:hw2_instuctions [2014/04/02 18:22]
Line 1: Line 1:
-==== Instructions for the programming part in HW2 ==== 
- 
-**What to submit:** 
-You will handle two .java files and one .txt file : 
-  - WebServer.java 
-  - HttpRequest.java 
-  - README.txt 
- 
-Please follow these conventions,​ for ease of testing: 
-  * Use the port = 6789 for the WebServer. ​ 
-  * Use **localhost** address. ​ 
- 
-**Hints ** 
-  * Use the Java code provided as a starting point in the assignment. 
-  * 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). ​ 
-  * 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. 
- 
-