Assignment Set 1 - Submission Guidelines (Fall 2006)
To submit your assignment, you will need to show a run of specific
input for Parts 1 and 2. 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-Fa06-part1.txt into
your client. For example:
- $ cat ~tmont/assign1-Fa06-part1.txt | my_echo_client localhost 34658
- Part 2: Include the server output in the run for Part 1.
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
$ cat ~tmont/assign1-Fa06-part1.txt | my_echo_client localhost 34685
Line does not differ, line was: This is NOT an ordinary text file.
Line does not differ, line was: There is NOT nothing special here.
Line does not differ, line was: [so, move along. Not doing anything special here.]
....
End of File. Disconnecting...
$ 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 September 30, 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 09.20.2006)