Assignment Set 1 - Submission Guidelines (Spring 2006)
To submit your assignment, you will need to show a run of specific
input for Parts 1, 2, 3, and 4. To receive partial credit for any
portion, you will need to show runs 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 your server from part 2 on the same
machine. This machine must be one of the shell servers (murdock, wensong, etc.).
This means you will need to have Part 2 (or a portion of it) working to demonstrate Part 1.
Run your client with hostname of localhost and the port of your server.
Use
cat to input the file ~tmont/assign1-Sp06-part1.txt into
your client. For example:
- $ cat ~tmont/assign1-Sp06-part1.txt | echo_client
- Part 2: Include the server output in the run for Part 1.
- Part 3: Run your client and pass it the input file
~tmont/assign1-Sp06-urls.txt.
Include your output in the submission.
- Part 4: Run your server and use
wget to demonstrate the streaming capabilities
of your server for the 3 streams. Include the output in your submission.
Examples of usage of wget would be the following:
- $ wget -O- --progress=dot -S http://localhost:port/clock
- $ wget -O- --progress=dot -S http://localhost:port/random
- $ wget -O- --progress=dot -S http://localhost:port/uptime
You must use scriptto start capturing your runs.
If you do not know how to use script, examine its man page or use
Google.
A sample run might look like this.
$ script
Script started, file is typescript
$ wget -O- --progress=dot -S http://localhost:4587/clock
--12:43:36-- http://localhost:4587/clock
=> `-'
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 20 Feb 2006 17:43:51 GMT
Content-Type: text/html; charset=UTF-8
Length: unspecified [text/html]
12:43:51
12:43:53
12:43:55
12:43:57
12:43:59
12:44:01
$ exit
Script done, file is typescript
You will need to submit all script runs and source code to tmont@csee.wvu.edu by 12:00am March 4th, 2006.
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, executables, zips, or other archives.
- 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 01.20.2006)