The handout omitted one important instruction for building the provided code. You must define
an environment variable, TOPDIR, as the top-level directory where you unpacked the distribution.
For example, if you unpacked it in /u/yourid/469/A1 and you are using tsch as your shell:
setenv TOPDIR /u/yourid/469/A1
Instructions for using the timing server: Send an email from your
cdf account to "demke@cdf" with "malloc.c" as the subject and your malloc.c
file as an attachment (I use pine on CDF for a simple mailer that can attach files). Your code will be run on the 4 benchmarks provided (threadtest uses
a smaller "work" parameter than the distribution, and larson uses only a 15
second interval), and you will receive an email with a gzipped tarfile of
the Results directories from all the benchmarks. The timing server allows
up to 1000 seconds for all the tests to complete -- if there are a lot of submissions it may take several hours for your results to become available. (Welcome
to the wonderful world of batch processing!) If your job is killed because of running too long, you will receive an email notification of that. If this happens to you, and you believe your code should have completed successfully, please
let me know about it.
REMINDER: You must submit all files required to build your chat client binary, so
that the client can be built simply by unpacking your submission and typing "make". You should remove the
SERVER_BIN from the "all" make target. You can still use the script ~csc469h/fall/pub/A3/check_submission.sh
to verify that your .tgz file will build correctly before submitting it.
Here are some online resources for help with socket programming: