Where’s the receiving window of R after Frame 2 is received correctly? Did R then send ACK or NAK to S? Where’s the sending window of S after receiving the acknowledgement?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Based on the picture,

  • Where’s the receiving window of R after Frame 2 is received correctly?
  • Did R then send ACK or NAK to S?
  • Where’s the sending window of S after receiving the acknowledgement?
**Selective Repeat with NAK**

In this diagram, the process of the Selective Repeat Automatic Repeat reQuest (ARQ) protocol is depicted, highlighting the interaction between the sender (S) and receiver (R) with the use of Acknowledgments (ACKs) and Negative Acknowledgments (NAKs). 

**Components of the Diagram:**

- **Time:** The vertical axis shows the progression of events over time.

- **Sending Window:** Initially, the sender's window contains frames 0 and 1, indicating the frames ready to be sent.

- **Frame Transmission:** 
  - Frame 0 is sent from the sender (S) to the receiver (R).
  - Frame 1 is sent and acknowledged (ACK 1) by the receiver.

- **Frame 2 Transmission:** 
  - Frame 2 is attempted but marked with an 'X' indicating an error in transmission.
  - As a result, Frame 3 is sent, but a NAK 2 is received, requesting the retransmission of Frame 2.

- **Retransmissions:** 
  - Frame 2 is sent again and is acknowledged.

- **Current Window State:**
  - The sender's window adjusts according to the acknowledgments, allowing new frames to enter the window for transmission.
  - The receiver's window moves forward as frames are correctly received and acknowledged.

**Question:** 
- A red line at the bottom raises a question for learners: "ACK or NAK?", inviting them to consider the state of the network protocol and the status of the window management.

The diagram provides a visual illustration of how the Selective Repeat ARQ protocol operates, allowing only erroneous frames to be retransmitted, thereby increasing efficiency compared to other protocols such as Go-Back-N.
Transcribed Image Text:**Selective Repeat with NAK** In this diagram, the process of the Selective Repeat Automatic Repeat reQuest (ARQ) protocol is depicted, highlighting the interaction between the sender (S) and receiver (R) with the use of Acknowledgments (ACKs) and Negative Acknowledgments (NAKs). **Components of the Diagram:** - **Time:** The vertical axis shows the progression of events over time. - **Sending Window:** Initially, the sender's window contains frames 0 and 1, indicating the frames ready to be sent. - **Frame Transmission:** - Frame 0 is sent from the sender (S) to the receiver (R). - Frame 1 is sent and acknowledged (ACK 1) by the receiver. - **Frame 2 Transmission:** - Frame 2 is attempted but marked with an 'X' indicating an error in transmission. - As a result, Frame 3 is sent, but a NAK 2 is received, requesting the retransmission of Frame 2. - **Retransmissions:** - Frame 2 is sent again and is acknowledged. - **Current Window State:** - The sender's window adjusts according to the acknowledgments, allowing new frames to enter the window for transmission. - The receiver's window moves forward as frames are correctly received and acknowledged. **Question:** - A red line at the bottom raises a question for learners: "ACK or NAK?", inviting them to consider the state of the network protocol and the status of the window management. The diagram provides a visual illustration of how the Selective Repeat ARQ protocol operates, allowing only erroneous frames to be retransmitted, thereby increasing efficiency compared to other protocols such as Go-Back-N.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Designing Real Time System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education