Data Link Protocols: Unrestricted Simplex Protocol Simplex Stop-And-Wait Protocol Simplex Protocol For A Noisy Channel
Data Link Protocols: Unrestricted Simplex Protocol Simplex Stop-And-Wait Protocol Simplex Protocol For A Noisy Channel
Data Link Protocols: Unrestricted Simplex Protocol Simplex Stop-And-Wait Protocol Simplex Protocol For A Noisy Channel
The
Part 3
Unrestricted
simplex protocol
Simplex stop-and-wait protocol
Simplex protocol for a noisy channel
an ideal situation
What are the assumptions here that
pertain to reliable data transfer?
State all assumptions under which the
protocol below would work
Unrestricted Simplex
Protocol
Simplex Stop-and-Wait
Drop
Modify
A positive
acknowledgement with
retransmission
protocol.
Continued
Duplex
Piggyback
ACK
Set windows at sender and receiver to denote
valid frames
Three
variants:
Continued
Protocol in action
Protocol in action
Performance
Pipelined protocols
sender
L/R
RTT + L / R
.008
30.008
= 0.00027
Go-Back-N
Sender:
Selective Repeat
GBN in
action
sender window
N consecutive seq #s
again limits seq #s of sent, unACKed pkts
Selective repeat
sender
timeout(n):
receiver
ACK(n) in
[sendbase,sendbase+N]:
send ACK(n)
out-of-order: buffer
in-order: deliver (also
deliver buffered, inorder pkts), advance
window to next not-yetreceived pkt
pkt n in [rcvbase-N,rcvbase-1]
ACK(n)
otherwise:
ignore
Selective repeat:
dilemma
Example:
seq #s: 0, 1, 2, 3
window size=3
receiver sees no
difference in two
scenarios!
incorrectly passes
duplicate data as new in
(a)
Q: what relationship
between seq # size and
window size?