100% found this document useful (4 votes)
7K views

Sliding Window Protocols

This document summarizes sliding window protocols. It discusses that sliding window protocols operate at the data link layer and provide services to the network layer. It notes that sliding window protocols are bidirectional, with the sender deleting frames after receiving acknowledgments from the receiver. It then describes the types of sliding window protocols, including one-bit sliding window protocols, Go Back N sliding window protocols, and Selective Repeat sliding window protocols.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
7K views

Sliding Window Protocols

This document summarizes sliding window protocols. It discusses that sliding window protocols operate at the data link layer and provide services to the network layer. It notes that sliding window protocols are bidirectional, with the sender deleting frames after receiving acknowledgments from the receiver. It then describes the types of sliding window protocols, including one-bit sliding window protocols, Go Back N sliding window protocols, and Selective Repeat sliding window protocols.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 9

Sliding Window

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

sender deleted the frames when get


the acknowledgment.
sender receiver
Purpose
An incremental Specification.
Novel Enhancements to local control
a soft-state.
Masking the overhead of protocol
layering.
Types Of Windows
Sender Window.
Sender maintains a set of sequence
number corresponding to frame it is
permitted to send. These frames are
said to fall within the sending window.
Receiving Window.
The receiver also maintains a receiving
window corresponding to the set of
frames, it is permitted to accept.
Types of sliding window
protocols
One-Bit sliding window protocols.
Go Back N sliding window protocols.
Selective Repeat sliding window
protocols.
One-Bit sliding window protocols.
Sender sends a frame to receiver and
receiver receives that frame and
send a new frame and
acknowledgment to sender.
Eg: A B
A1
B1+Ack
A2
B2+A2 Ack
Go Back N sliding window
protocols.
In this the receiver simply discard all subsequent
frame, sending no acknowledgment for the
discarding frame.
0 1 2 3 4 5 sender
2 3 4 5 6 7
1
0

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…..

You might also like