SlideShare a Scribd company logo
3
Most read
8
Most read
13
Most read
Selective Repeat Protocol
Group 6
P.D.M.Dilan – 2010/ICT/94
K.M.D.Udayangani – 2010/ICT/89
Why Selective Repeat Protocol
 The go-back-n protocol works well if errors are rare,
but if the line is poor it wastes a lot of bandwidth on
retransmitted frames.
 An alternative strategy, the selective repeat
protocol, is to allow the receiver to accept and
buffer the frames following a damaged or lost one.
2
Selective Repeat Protocol
 In this protocol, both sender and receiver maintain
a window of outstanding and acceptable
sequence numbers, respectively.
 The sender’s window size starts out at 0 and grows
to some predefined maximum.
 The receiver’s window, in contrast, is always fixed in
size and equal to the predetermined maximum.
 The receiver has a buffer reserved for each
sequence number within its fixed window.
3
4
 Associated with each buffer is a bit (arrived ) telling
whether the buffer is full or empty.
 Whenever a frame arrives, its sequence number is
checked by the function between to see if it falls
within the window.
5
 If so and if it has not already been received, it is
accepted and stored. This action is taken without
regard to whether or not the frame contains the
next packet expected by the network layer.
 Of course, it must be kept within the data link layer
and not passed to the network layer until all the
lower-numbered frames have already been
delivered to the network layer in the correct order.
6
Note
In Selective Repeat ARQ, the size of the
sender and receiver window must be at
most one-half of 2m
.
7
8
Note
 The sender only retransmits frames, for
which a NAK is received.
 This will increase the efficiency of the
protocol.
9
 Advantage over Go-Back-N:
Fewer Retransmissions.
 Disadvantages:
More complexity at sender and receiver
Each frame must be acknowledged individually (no cumulative
acknowledgements)
Receiver may receive frames out of sequence
10
Conclusion
 Selective repeat is combination of advantages of
GO back-N and Stop-N-Wait.
 Selective repeat is somewhat superior to the other
protocols
11
Example of Selective-Repeat12
Receiver must keep
track of holes’ in
the sequence of
delivered frames.
Sender must
maintain one timer
per outstanding
packet
Sender-side Selective Repeat algorithm
(Continued)
13
(Continued)
14
15
Receiver-side Selective Repeat algorithm
(Continued)
16
17
Thank You.
18

More Related Content

PPTX
Stop-and-Wait ARQ Protocol
PPTX
Go back-n protocol
PPTX
Sliding window protocol(ARQ technique)
PPTX
Unit 2 data link control
PPTX
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
PDF
Stop and-wait protocol
PPTX
PPT
chapter 11(Data link Control)in CN .ppt
Stop-and-Wait ARQ Protocol
Go back-n protocol
Sliding window protocol(ARQ technique)
Unit 2 data link control
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
Stop and-wait protocol
chapter 11(Data link Control)in CN .ppt

What's hot (20)

PPTX
Go Back N ARQ
PPTX
Computer network switching
PPTX
Media Access Control (MAC Layer)
PPTX
Distance Vector Routing
PPSX
Congestion control in TCP
PPTX
Multiple access protocol
PPTX
Routing protocols for ad hoc wireless networks
PPTX
HDLC(High level Data Link Control)
PPTX
Inter Process Communication
PPTX
Delay , Loss & Throughput
PDF
Design Issues In Adhoc Wireless MAC Protocol
PPTX
Flow Control.pptx
PPTX
Transport layer
PPT
Mac layer
PPTX
Mac protocols
PPTX
Distance Vector & Link state Routing Algorithm
PPTX
Signals and Antennas in mobile computing
Go Back N ARQ
Computer network switching
Media Access Control (MAC Layer)
Distance Vector Routing
Congestion control in TCP
Multiple access protocol
Routing protocols for ad hoc wireless networks
HDLC(High level Data Link Control)
Inter Process Communication
Delay , Loss & Throughput
Design Issues In Adhoc Wireless MAC Protocol
Flow Control.pptx
Transport layer
Mac layer
Mac protocols
Distance Vector & Link state Routing Algorithm
Signals and Antennas in mobile computing
Ad

Similar to Selective repeat protocol (20)

PPTX
GO BACK N PROTOCOL
PPTX
Computernetdfghuugfdssssddddfworkar.pptx
PPTX
Stop&ggghytyyyyhghhyuyyghhyhyWait ARQ.pptx
PPT
Lesson_3.2- Data-link-Control Lesson_3.2- Data-link-Control.ppt
PPT
Flow control main
PDF
Nigga.pdf
PPT
session -7 - Sliding Window Protocol 1- N oisy Channels.ppt
PPT
Computer network slides for easy prepration
PPTX
Go back.pptx
PPT
8th lec flow and error control
PPTX
Week5 lec2-bscs1
PPT
Lecture 24
PPTX
Unit IV_Flow.pptx
PPT
JNTUHS-18-12-2024 - Copy.ppt computer networks notes
PPTX
CS3591- Computer Networks Unit-2 Transport layer
PPTX
arq and selective arQ IN computer network btech cse
PDF
Data link layer (Unit 2).pdf
PPT
SYBSC IT COMPUTER NETWORKS UNIT III Data Link Control
PPT
Flow Control & Error control in Data Link Layer .ppt
PPTX
Lecture 36-43_DATA_COMMUNICATION_PPT.pptx
GO BACK N PROTOCOL
Computernetdfghuugfdssssddddfworkar.pptx
Stop&ggghytyyyyhghhyuyyghhyhyWait ARQ.pptx
Lesson_3.2- Data-link-Control Lesson_3.2- Data-link-Control.ppt
Flow control main
Nigga.pdf
session -7 - Sliding Window Protocol 1- N oisy Channels.ppt
Computer network slides for easy prepration
Go back.pptx
8th lec flow and error control
Week5 lec2-bscs1
Lecture 24
Unit IV_Flow.pptx
JNTUHS-18-12-2024 - Copy.ppt computer networks notes
CS3591- Computer Networks Unit-2 Transport layer
arq and selective arQ IN computer network btech cse
Data link layer (Unit 2).pdf
SYBSC IT COMPUTER NETWORKS UNIT III Data Link Control
Flow Control & Error control in Data Link Layer .ppt
Lecture 36-43_DATA_COMMUNICATION_PPT.pptx
Ad

More from Manusha Dilan (13)

PPTX
Cell aging
PPTX
Waterfall model
PPTX
Telco app development
PPTX
Jade Application Wedding Planner (Groom Assist)
PPTX
E commerce application using asp.net mvc4
PDF
Advanced python concepts
PDF
Ruhune maha wiharaya(රුහුණේ මහා විහාරය )
PDF
B2C Models
PDF
Python collections
PPTX
Cellular concepts
PDF
Java_practical_handbook
PPTX
HCI_chapter_09-Evaluation_techniques
PPT
Lan technologies
Cell aging
Waterfall model
Telco app development
Jade Application Wedding Planner (Groom Assist)
E commerce application using asp.net mvc4
Advanced python concepts
Ruhune maha wiharaya(රුහුණේ මහා විහාරය )
B2C Models
Python collections
Cellular concepts
Java_practical_handbook
HCI_chapter_09-Evaluation_techniques
Lan technologies

Recently uploaded (20)

PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
Introduction to Information and Communication Technology
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Funds Management Learning Material for Beg
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
artificial intelligence overview of it and more
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
Internet___Basics___Styled_ presentation
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
innovation process that make everything different.pptx
DOCX
Unit-3 cyber security network security of internet system
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Database Information System - Management Information System
PPTX
E -tech empowerment technologies PowerPoint
PPTX
newyork.pptxirantrafgshenepalchinachinane
Module 1 - Cyber Law and Ethics 101.pptx
Introduction to Information and Communication Technology
Paper PDF World Game (s) Great Redesign.pdf
Introduction to the IoT system, how the IoT system works
Funds Management Learning Material for Beg
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Tenda Login Guide: Access Your Router in 5 Easy Steps
artificial intelligence overview of it and more
Mathew Digital SEO Checklist Guidlines 2025
Internet___Basics___Styled_ presentation
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Power Point - Lesson 3_2.pptx grad school presentation
innovation process that make everything different.pptx
Unit-3 cyber security network security of internet system
presentation_pfe-universite-molay-seltan.pptx
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Database Information System - Management Information System
E -tech empowerment technologies PowerPoint
newyork.pptxirantrafgshenepalchinachinane

Selective repeat protocol

  • 1. Selective Repeat Protocol Group 6 P.D.M.Dilan – 2010/ICT/94 K.M.D.Udayangani – 2010/ICT/89
  • 2. Why Selective Repeat Protocol  The go-back-n protocol works well if errors are rare, but if the line is poor it wastes a lot of bandwidth on retransmitted frames.  An alternative strategy, the selective repeat protocol, is to allow the receiver to accept and buffer the frames following a damaged or lost one. 2
  • 3. Selective Repeat Protocol  In this protocol, both sender and receiver maintain a window of outstanding and acceptable sequence numbers, respectively.  The sender’s window size starts out at 0 and grows to some predefined maximum.  The receiver’s window, in contrast, is always fixed in size and equal to the predetermined maximum.  The receiver has a buffer reserved for each sequence number within its fixed window. 3
  • 4. 4
  • 5.  Associated with each buffer is a bit (arrived ) telling whether the buffer is full or empty.  Whenever a frame arrives, its sequence number is checked by the function between to see if it falls within the window. 5
  • 6.  If so and if it has not already been received, it is accepted and stored. This action is taken without regard to whether or not the frame contains the next packet expected by the network layer.  Of course, it must be kept within the data link layer and not passed to the network layer until all the lower-numbered frames have already been delivered to the network layer in the correct order. 6
  • 7. Note In Selective Repeat ARQ, the size of the sender and receiver window must be at most one-half of 2m . 7
  • 8. 8
  • 9. Note  The sender only retransmits frames, for which a NAK is received.  This will increase the efficiency of the protocol. 9
  • 10.  Advantage over Go-Back-N: Fewer Retransmissions.  Disadvantages: More complexity at sender and receiver Each frame must be acknowledged individually (no cumulative acknowledgements) Receiver may receive frames out of sequence 10
  • 11. Conclusion  Selective repeat is combination of advantages of GO back-N and Stop-N-Wait.  Selective repeat is somewhat superior to the other protocols 11
  • 12. Example of Selective-Repeat12 Receiver must keep track of holes’ in the sequence of delivered frames. Sender must maintain one timer per outstanding packet
  • 13. Sender-side Selective Repeat algorithm (Continued) 13
  • 15. 15
  • 16. Receiver-side Selective Repeat algorithm (Continued) 16
  • 17. 17