Assignment Set 1 - Submission Guidelines
To submit your assignment, you will need to show a run
of specific input for Parts 1, 2, and 3. To receive partial credit
for any portion, you will need to show runs for that demonstrate
those parts function correctly. For the different
parts of the assignment, here are the required runs to be
be captured.
- Part 1: Run your client with standard input redirected
from a file of your choosing. e.g.
$ echoclient < file .
The file must have multiple lines. Use the server from Part 2. This means that
you will need to have Part 2 working to demonstrate Part 1.
- Part 2: Include the server output in the run for Part 1. In addition,
perform a run demonstrating Part 2.C that replaces the leter "e" in the line
"all good things must come to an end".
- Part 3.A - 3.C: Run this program with the following URLs:
- http://troubling.urls/troubled.html
- http://157.182.194.28
- http://naur:8086/help.html
- http://www.csee.wvu.edu/~tmont/assign1-Sp02.html
- http://www.csee.wvu.edu/~tmont/aliensong.mpg
- http://naur/Robots.txt
- Part 3.D: Run this program with the following URLs:
- http://www.csee.wvu.edu/~tmont/redir-test.php
- Part 3.E: Run this program with the following URLs using
IP address 157.182.194.28 port 3128 as the proxy.
- http://www.csee.wvu.edu/~tmont/index.html
- Extra Credit: Run the program from Part 3 with the
following URLs
- ftp://naur.csee.wvu.edu/
- http://www.csee.wvu.edu/~tmont/auth-test.php
You must use scriptto start capturing your runs.
If you do not know how to use script, examine its man page.
A sample run might look like this.
$ script
Script started, file is typescript
$ echoclient
Line> info to send
info to send
Line> next line of info
next line of info
$ httpclient http://www.csee.wvu.edu/~tmont/aliensong.mpg
Retrieving file....
Content-Type: video/mpg
Content-Length: 3201028
3201028 bytes transferred in 1.01 seconds (3169334 Bps)
$ exit
Script done, file is typescript
You will need to submit all script runs and source code.
Please use the following command to submit your assignment:
~tmont/sub_cs453.pl file1 file2 file3 . . .
Some restrictions:
- You should include a README file that explains the files
and the usage of your programs.
- You must include a script of your program in operation with specific
input as given above.
- Do not include any binary files.
- Do not include any additional directories.
- Do not include any native code if using Java (JNI).
Please follow this procedure. If you do not follow this procedure
your programs will not be graded!
Todd L. Montgomery (revised 02.26.2002)