COS 318 Project #1 README

Authors:	Ramesh Dharan, Brian Ronan
Date Due:	10/02/01

 The file main.c contains our completed implementation of the web server 
as per the assignment specifications. Compiling the code using 'make all' 
or 'make httpsvr', with the provided Makefile, will generate the executable
web server. 

 This tarball also contains a directory, 'httproot/', with one subdirectory, 
'icons/'. This provides the base heirarchy for the web server, the 'icons/' 
subdirectory contains images for use when returning directory listings. 

 To summarize, the server should be built with the 'make httpsvr' command, 
and then executed as follows:

	$ httpsvr [PORT] ./httproot/

 Where [PORT] specifies a valid (> 1024) port number. The program will refuse
to accept port numbers below 1024... 

 The server can use any arbitrary directory path as its root, however the
'icons/' subdirectory should be copied to whatever path will be used as the 
root in order to properly display the directory list HTML content. 

 We have also handled the Broken Pipe signal, there will be a SIGPIPE generated if the user e.g. hits the stop button in the browser in the middle of receiving a large file. We note the broken pipe event on the console and proceed...


  
