Sliding Window Protocols

  • Uploaded by: Abhishek kumar singh
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Sliding Window Protocols as PDF for free.

More details

  • Words: 346
  • Pages: 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.

D

D

5

4

3

Ac k

D

Ac k

E

Ac k

1

2

0

Ac k

Ac k

1

Ac k

0

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

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

Error

7

Ac

Ac

Ac k

3

4

5

2

6

7

8

k

Ac k

k

9

Receiver

10

8

8

6

7

Ac k

3

E

6

Ac k

Ac k

1

2

Ac k

Ac k

0

5

2

4

1

3

5

2

4

1

0

0

9

10

THANKS…..

Related Documents

Sliding Window Protocols
December 2019 15
Protocols
June 2020 9
Protocols
December 2019 18
Protocols
May 2020 10
Protocols
December 2019 20

More Documents from "phandaka"

Regexp Quick Reference
June 2020 11
Srm University-8.pdf
November 2019 12
Curl Manual
June 2020 13
Ion Of All Sorting
December 2019 14