
CS 6250 Computer Networks Fall Semester 2003
Homework 5
Assigned: October 29 Due: November 6 (in class)
1. Provide pseudocode for the processing necessary at the sender and receiver to achieve reliable packet
transfer over a channel that is subject to bit errors, packet losses and packet duplication (but not
reordering). Assume a stop-and-wait protocol. Demonstrate with sender-receiver diagrams that all
types of packet duplication are prop erly handled.
2. Leon-Garcia, 1st edition 5.19, 2nd edition 5.19. Note that \ARQ" stands for automatic repeat request"
and is a term used to describe protocols that achieve reliable transfer over an unreliable channel (i.e.,
exactly as wehave been discussing in class).
3. Leon-Garcia, 1st edition 5.20, 2nd edition 5.20
4. Leon-Garcia, 1st edition 5.21, 2nd edition 5.21
5. Leon-Garcia, 1st edition 5.23, 2nd edition 5.23. You do not need to show state transitions.
1