C SC 481.20 Lecture 7: Principles of Reliable Transport
major resource: Computer Networking (4th Edition), Kurose and Ross, Addison Wesley, 2008

[ previous | schedule | next ]

Simplest protocol for reliable delivery

Stop-and-wait protocols for reliable delivery

Stop-and-wait with reliable channel

Stop-and-wait with corrupt channel

Stop-and-wait with lossy channel

Consider performance of all stop-and-wait protocols

Sliding window protocols for reliable delivery

Go-Back-N

Selective Repeat

Example to illustrate two things about Selective Repeat

Example: (window size N = 4)
  1. Sender sends 0, 1, 2 and 3.
  2. Receiver ACKs 0, 1, 2, and 3. And slides left edge up to slot 4.
  3. ACK 0 is lost.
  4. Sender gets ACK 1, 2 and 3. Cannot slide left edge; no ACK 0.
  5. Sender slot 0 times out and resends.
  6. Receiver gets duplicate slot 0. What should it do? Slot 0 is now behind its window.
Illustrates that sender and receiver windows need not coincide.
Illustrates that range of sequence numbers must be at least twice the window size.

Suppose:

Suppose:

Suppose:


[ C SC 481 | Peter Sanderson | Math Sciences server  | Math Sciences home page | Otterbein ]

Last updated:
Peter Sanderson (PSanderson@otterbein.edu)