2018-09-10 04:21:00 +00:00
|
|
|
COMPILE INSTRUCTIONS
|
|
|
|
===================
|
|
|
|
Run `make` to build both the client and server.
|
2018-09-11 02:40:12 +00:00
|
|
|
Run `make http_client` to build only the client.
|
|
|
|
Run `make http_server` to build only the server.
|
2018-09-10 12:52:55 +00:00
|
|
|
In the event of a rebuild, please run `make clean` first.
|
2018-09-10 04:21:00 +00:00
|
|
|
|
|
|
|
RUN INSTRUCTIONS
|
|
|
|
================
|
|
|
|
You may run the client with the following usage. The -p flag will print the round trip time (RTT) to the server.
|
|
|
|
./http_client [-p] server/path port
|
|
|
|
|
|
|
|
You may run the server with the following usage.
|
|
|
|
./http_server port
|
2018-09-11 02:40:12 +00:00
|
|
|
The server will serve files from the PWD at runtime. If the server receives a request with path '/', it will serve TMDG.html.
|