Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Protocols
By
ABHISHEK KUMAR
SINGH
REG. NO. 07RWSCA001
Sliding window Protocol
These protocols comes under the
data link layer.
It provides services to the network
layer.
It’s a bidirectional protocol. It means
5
k
3
k
Ac
k
Ac
k
Ac
Ac
Ac
Ac
0 1 E D D D 2 3 4 5 6 7
Error Discarded
Receiver
N=2, it is an error . After 2 the sender didn’t get
the acknowledgment. So 3, 4, 5 is discarded and
Selective Repeat sliding window
protocols.
In this a bad frame that is received is discarded, but good
frame received after it are buffered. When the sender times
out, only the oldest unacknowledged frame is
retransmitted. Eg:
sender
0 1 2 3 4 5 2 6 7 8 9 10
0
8
7
1
4
3
2
5
k
k
k
k
k
k
k
k
Ac
Ac
Ac
Ac
Ac
Ac
Ac
Ac
Ac
0 1 E 3 4 5 2 6 7 8 9 10
Error Receiver
THANKS…..