Solution-4-9-16-04

# Solution-4-9-16-04 - CDA 4527 Fall 2004 Solution of...

This preview shows pages 1–2. Sign up to view the full content.

CDA 4527 Fall 2004 Solution of Assignment # 4 Date: 9/16/04 Due Date: 9/21/04 Q. 1- 4. 3.4 - 3.7 from Text Book (page 287) Problem 4. Suppose the sender is in state “Wait for call 1 from above” and the receiver (the receiver shown in the homework problem) is in state “Wait for 1 from below.” The sender sends a packet with sequence number 1, and transitions to “Wait for ACK or NAK 1,” waiting for an ACK or NAK. Suppose now the receiver receives the packet with sequence number 1 correctly, sends an ACK, and transitions to state “Wait for 0 from below,” waiting for a data packet with sequence number 0. However, the ACK is corrupted. When the rdt2.1 sender gets the corrupted ACK, it resends the packet with sequence number 1. However, the receiver is waiting for a packet with sequence number 0 and (as shown in the home work problem) always sends a NAK when it doesn't get a packet with sequence number 0. Hence the sender will always be sending a packet with sequence number 1, and the receiver will always be NAKing that packet. Neither will progress

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 06/09/2011 for the course CDA 4527 taught by Professor Zou,c during the Fall '08 term at University of Central Florida.

### Page1 / 2

Solution-4-9-16-04 - CDA 4527 Fall 2004 Solution of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online