-
Notifications
You must be signed in to change notification settings - Fork 0
john-curry/361a1
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
361 Assignment 1 Simple HTTP Server and Client
// =================================================
Author: John Curry
Student Number: V00755720
// =================================================
Build:
make
Client:
You can run "make crun" to run a sample run of the client, which is the same
as running ./SimpClient http://www.example.com:80/index.html. In General the
client can be run as:
./SimpClient $URI
There is also an interactive version of the client where you can enter uri's
at a prompt. To start the interactive client:
./interactive_client
Server:
As for the server you can run "make srun" which will start the server in the
current directory on port 8000. In general the server can be run as:
./SimpServer $PORT $DIRECTORY
ie: ./SimpServer 8080 .
Documentation:
The relevant documentation for the client and server is in their respective
header files.
About
Simple HTTP Server and Client using the linux TCP API. The client is a poor mans curl and the server will server anything in the current directory. HTTP/1.0 only
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published