|
|
||||
|
|
|
|||
| Programming Assignment #1 | ||||
| What |
Assignment 5 from the textbook: "Implementing a Reliable
Transport Protocol" You are to hand in the Go-Back-N (GBN) version of the lab. The Alternating-Bit-Protocol version of the lab is not required to be handed in, but you will be graded on the alternating-bit functionality of recovering from bit errors and packet loss, which should be presented in one unified output of the GBN version . | |||
| Where |
This assignment is introduced at the end of Chapter 3. You can find the details on the textbook website. You must register on the website using the registration number on the inside cover of your textbook. |
|||
| How |
Submit your project via the Toolkit website for the CS
and ECE
sections. Your submission should contain the names and student
IDs of the team members, along with the code, the design
document, the sample output, and the annotated version of the
sample output. (the following text is copied from the project description) You should hand in a code listing, a design document briefly stating what each of your functions does, and sample output of the program. For your sample output, your procedures should print out a message whenever an event occurs at your sender or receiver (a message/packet arrival, or a timer interrupt) as well as any action taken in response. You should hand in output for a run up to the point (approximately) when 10 messages have been ACK'ed correctly at the receiver, using a loss probability of 0.1, a corruption probability of 0.3, and a trace level of 2. Be sure that your trace is long enough to observe both packet corruption and loss, and the recovery of them. You should annotate your printout showing how your protocol correctly recovered from packet loss and corruption. Submit both an annotated and a non-annotated version of the output. |
|||
| Why |
Recovering from bit errors -- 4 points Recovering from packet loss -- 3 points Pipelining (ie. the GBN version of the lab) -- 3 points Bi-directional communication (ie. the extra credit) -- 1 point |
|||
| When | This assignment was originally due March 15th, but the deadline is being extended to 11:59pm on Friday March 16th. | |||
|
|
|
|||
|
Kamin Whitehouse Computer Science Department The University of Virginia 217 Olsson Hall Charlottesville, Virginia 94720 |