Lec-24: Selective Repeat ARQ (Automatic Repeat Request) | Data Link Layer

Lec-24: Selective Repeat ARQ (Automatic Repeat Request) | Data Link Layer

Selective Repeat

This section discusses the concept of Selective Repeat in sliding window protocols. The sender and receiver windows have the same size, which is determined by 2^m - 1, where m is the sequence number length.

Sender and Receiver Window Size

  • The sender and receiver windows have the same size, which is determined by 2^m - 1.
  • For example, if m = 3, the sequence number range is 0 to 7, so the sender and receiver window sizes are both 4 (0 to 3).
  • The window size should not be greater than 2^m - 1 to avoid problems with lost acknowledgements.

Handling Out-of-Order Packets

  • Selective Repeat allows for out-of-order packets to be accepted.
  • The receiver window can accept any packet within its window range, regardless of the order in which they were sent.

Avoiding Duplicate Packets

  • To avoid accepting duplicate packets, the window size should not be greater than 2^m - 1.
  • If a larger window size is used, duplicate packets may be accepted when retransmissions occur.

Conclusion

This section concludes the discussion on Selective Repeat and highlights key points to remember.

Key Points

  • The sender and receiver windows in Selective Repeat have the same size.
  • The window size should be equal to or smaller than 2^m - 1 to avoid issues with lost acknowledgements.
  • Selective Repeat allows for out-of-order packets to be accepted.
  • Duplicate packets can be avoided by using an appropriate window size.

NAK - Negative Acknowledgement

This section discusses the concept of negative acknowledgement (NAK).

NAK - Negative Acknowledgement

  • A negative acknowledgement (NAK) is a response sent by a receiver to indicate that there was an error or failure in receiving or processing data.
  • It is used in communication protocols to inform the sender that the message was not successfully received or processed.
  • NAK helps in ensuring reliable and accurate data transmission by allowing the sender to retransmit the message if it receives a NAK response.

No specific timestamp was provided for this section.

Video description

👉Subscribe to our new channel:https://www.youtube.com/@varunainashots In this video, Varun sir has explained Selective Repeat ARQ protocol. Selective Repeat ARQ is an error control protocol used in data communication to ensure reliable transmission of data. It allows for selective retransmission of only the damaged or lost packets, rather than retransmitting all the packets from a specific point. ►Computer Networks (Complete Playlist): https://www.youtube.com/playlist?list=PLxCzCOWd7aiGFBD2-2joCpWOLUrDLvVV_ Other subject-wise playlist Links: -------------------------------------------------------------------------------------------------------------------------------------- ►Design and Analysis of algorithms (DAA): https://www.youtube.com/playlist?list=PLxCzCOWd7aiHcmS4i14bI0VrMbZTUvlTa ►Database Management System: https://www.youtube.com/playlist?list=PLxCzCOWd7aiFAN6I8CuViBuCdJgiOkT2Y ► Theory of Computation https://www.youtube.com/playlist?list=PLxCzCOWd7aiFM9Lj5G9G_76adtyb4ef7i ►Artificial Intelligence: https://www.youtube.com/playlist?list=PLxCzCOWd7aiHGhOHV-nwb0HR5US5GFKFI ►Computer Architecture: https://www.youtube.com/playlist?list=PLxCzCOWd7aiHMonh3G6QNKq53C6oNXGrX ►Operating System: https://www.youtube.com/playlist?list=PLxCzCOWd7aiGz9donHRrE9I3Mwn6XdP8p ►Structured Query Language (SQL): https://www.youtube.com/playlist?list=PLxCzCOWd7aiHqU4HKL7-SITyuSIcD93id ►Discrete Mathematics: https://www.youtube.com/playlist?list=PLxCzCOWd7aiH2wwES9vPWsEL6ipTaUSl3 ►Compiler Design: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEKtKSIHYusizkESC42diyc ►Number System: https://www.youtube.com/playlist?list=PLxCzCOWd7aiFOet6KEEqDff1aXEGLdUzn ►Cloud Computing & BIG Data: https://www.youtube.com/playlist?list=PLxCzCOWd7aiHRHVUtR-O52MsrdUSrzuy4 ►Software Engineering: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEed7SKZBnC6ypFDWYLRvB2 ►Data Structure: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEwaANNt3OqJPVIxwp2ebiT ►Graph Theory: https://www.youtube.com/playlist?list=PLxCzCOWd7aiG0M5FqjyoqB20Edk0tyzVt ►Programming in C: https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmiGl_DOuRMJYG8tOVuapB ►Digital Logic: https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmXg4NoX6R31AsC5LeCPHe --------------------------------------------------------------------------------------------------------------------------------------- Our social media Links: ► Subscribe to us on YouTube: https://www.youtube.com/gatesmashers ►Subscribe to our new channel: https://www.youtube.com/@varunainashots ► Like our page on Facebook: https://www.facebook.com/gatesmashers ► Follow us on Instagram: https://www.instagram.com/gate.smashers ► Follow us on Instagram: https://www.instagram.com/varunainashots ► Follow us on Telegram: https://t.me/gatesmashersofficial ► Follow us on Threads: https://www.threads.net/@gate.smashers -------------------------------------------------------------------------------------------------------------------------------------- ►For Any Query, Suggestion or notes contribution: Email us at: gatesmashers2018@gmail.com