CSE 222: Computer Communications Networks

Assignment 1 Submission guidelines

You must include a makefile with your submission. When we run make along with your makefile the webserver should be created as a single file called server.

Make the server document directory ( the directory which the webserver uses to serve files ) a command line option. The command line option must be specified as -document_root. Thus, we should be able to run your webserver as
$ ./server -document_root "/home/jalbrecht/assignment1_files"
Note that there is no slash at the end of assignment1_files.

Make the port the server listens on, a command line option. The option must be specified as -port . Thus, we should be able to run your server as
$ ./server -document_root "/home/jalbrecht/assignment1_files" -port 8080

To submit your assignment please email a tarball as specified below to jalbrecht@cs.ucsd.edu with the subject line "CSE 222a assignment 1".

Please include the following files in your tar ball.

  1. A short writeup. This should consist of the following:
    1. The names of all people involved along with their email IDs.
    2. What all functionality is implemented in your webserver.
    3. What are the problems(if any) with your webserver.
    Writeups should preferably be typeset
  2. All the files for your source code only. Please do not include any executables.
  3. The makefile.