We have implemented a HTTP client and server running a paired down version of HTTP/1.0. We have extended the client and server to make use of some of the application level headers. In this project we have GET the request from the local server in iterative manner as well as concurrent manner. In addition to these, we have GET the request from the Web Server too. We have PUT the request in case of local server in an iterative manner as well as concurrent manner.
Run_Client
./httpclient <Host_name> <Port_No> <GET/PUT> <Path_Of_File>
Two Modes are there :-
A.> For GET/PUT in LocalServer :-
For eg.)
./httpclient localhost 50000 GET file.txt
or
./httpclient localhost 50000 PUT file.txt
B.> FOR GET from WebServer :-
For eg.)
./httpclient www.google.co.in 80 GET index.html
Run_Server (LOCAL) :-
./httpclient <Port_No>