Categories: Computer Networks

Selective Repeat Protocol – sliding window

Selective Repeat Protocol

When a data packet is transmitted, its corresponding timer will start and when an acknowledgement is received then the timer will be destroyed. On the other hand, if an acknowledgement packet is not received, then the timer expires after certain time period and then the packet will be resend.

The receiver stores out of order packets as well, unlike GBN protocol, but it will not deliver those packets to upper layer till the received packets are in order and thus a delay will occur.

Therefore, we can say that in GBN protocol, there is no concept of storing at receiver end, but in Selective Repeat protocol, this concept exists.

In SR protocol, the packets in the consecutive order are delivered to the upper layer and if the packets are not consecutive, then the receiver will wait, order the packets and then will send it to the upper layer. After this, the window will slide and move to other not received packets.

Advantage of Selective Repeat Protocol Over Go Back N Protocol

Following are some of the advantages of Selective Repeat protocol over Go Back N protocol:

  • SR protocols avoids unnecessary retransmission of packets.
  • When receiver gets an out of order packet it is acknowledged, but buffered by the receiver. When the receiver gets all the packets, it orders them and then sends to upper layer.
  • The receiver re-acknowledges already received packets with certain sequence numbers below the current window case, if the receiver does not do so, then the sender’s window would not move forward.

 

Read Some more.

 




  • Tags: more
    Mikel

    View Comments

    Recent Posts

    Heart Attack Causes and its Solution

    What is the Main Cause of a Heart Attack? What is its Solution? A heart attack is the blockage of… Read More

    1 year ago

    Understanding the Debt Ceiling: Its Impact, Importance, and Implications

    In the vast economic arena, one term that often takes center stage, inciting extensive debates and discussions, is the "debt… Read More

    2 years ago

    De-Dollarization: The New World Order of Currency and Its Global Impact

    De-Dollarization: The Changing Face of Global Finance The financial landscape is in a state of flux, with an intriguing economic… Read More

    2 years ago

    Unstoppable Bayern Munich: The Story Behind Their 11th Consecutive Bundesliga Title

    The curtains closed on a dramatic Bundesliga season with Bayern Munich standing tall once again, clinching their 11th straight title.… Read More

    2 years ago

    Celine Dion Cancels Concert Tour Due to Deteriorating Stiff-Person Syndrome

    The Unfolding Story of Celine Dion's Health In recent news that has left fans across the globe stunned, iconic singer… Read More

    2 years ago

    Navigating the Crossroads: LeBron James, Anthony Davis, and the LA Lakers’ Uncertain Future

    As the echoes of the recent NBA season start to fade, the attention of enthusiasts is firmly glued to one… Read More

    2 years ago