CSS 432: Network Design - Assignments


Language

We will use C/C++ for all programming assignments. This is because we need native-code execution for the purpose of measuring the underlying OS and network performance.

Operating Systems

The operating system used for all assignments is Linux, specifically the Linux environment in the Linux Lab (uw1-320-lab.uwb.edu). You will use many Linux system calls to establish and control socket communication.

UW1-320 Linux Laboratory

All your programs must be run in the Linux Lab environment for performance-measurement purposes. While you may develop your programs at any of your own Linux, Xcode on Mac OS, Cygwin on Windows, or MinGW on Windows, you must ultimately test all your programs on uw1-320-lab.uwb.edu.

Here is a procedure to log on one of the UW1-320 Linux machines and upload your files:

  1. To use a console of any UW1-320 machine, enter UW1-320 Linux Laboratory with your student ID card and log into any machine with your UW Net ID and the corresponding password.
  2. To remotely log into a UW1-320 machine, use ssh and establish a connection to uw1-320-lab.uwb.edu.
    You will automatically got one of the lab machines and see your home directory immediately.
  3. To distinguish 100Mbps and 1Gbps networks at UW1-320, log into a pair of two specific computing nodes:
    1. 100Mbps: log into any two of uw1-320-01.uwb.edu ~ uw1-320-15.uwb.edu machines.
    2. 1Gbps: log into any two of uw1-320-16.uwb.edu ~ uw1-320-23.uwb.edu machines.
  4. To transfer files to the UW-320 file server
    1. From an off-campus Linux machine: use the sftp command and establish a connection to uw1-320-lab.uwb.edu.
    2. From a Windows machine: use SSH Tectia Client, downloadable at: http://www.tectia.com/en/en.iw3
    3. From a Mac: use Fugu 1.2, downloadable at http://rsug.itd.umich.edu/software/fugu/

Socket Ports

As your own socket port, you should use the last five digits of your student ID. Do not use the ports other than your own port. If your last five digits do not fit in the range between 5001 and 65535, please email the instructor to obtain a unique port no one is using.

Programming Environment

Programming can be done with a text editor such as vi, pico, emacs and with the g++ compiler. However, needless to say, you may use any IDE (integrated Develogment environment). The following two IDEs are available to use in UW1-320.
  1. Eclipse
  2. KDevelop

Submissions

Grading

Your report will be graded based on the grading criteria shown in each assignment sheet.