What is the sequence number on the packet sent by the sender at time t₂? (Note: there is only one correct answer below).

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
### The RDT 3.0 Protocol

As we learned in class, the rdt3.0 protocol reliably transfers data from sender to receiver over a channel that can corrupt, lose and delay (but not reorder) packets. The rdt 3.0 sender and receivers (taken verbatim from the textbook and from our class notes) are shown below FYI. Recall that the sender starts in state "Wait for call 0 from above", and the receiver starts in state "Wait for 0 from below".

#### RDT 3.0 Sender:
The diagram represents the sender's finite state machine (FSM) with the following states and transitions:
1. **Wait for call 0 from above**:
   - `rdt_send(data)`
   - Creates a packet with sequence number 0 and checksum.
   - Sends the packet and starts a timer.
   
2. **Wait for ACK 0**:
   - Receives packet (`rdt_rcv(rcvpkt)`)
     - If packet is neither corrupted nor ACK 0 → State remains
     - If packet is corrupted or ACK is not 1 → Resend packet and reset timer
     - If packet is ACK 0 → Stop timer and move to next state.
   
3. **Wait for call 1 from above**:
   - Same as state 1 but with sequence number 1.
   
4. **Wait for ACK 1**:
   - Same as state 2 but with ACK 1 validation.

#### RDT 3.0 Receiver:
The diagram represents the receiver's FSM with the following states and transitions:
1. **Wait for 0 from below**:
   - Receives packet (`rdt_rcv(rcvpkt)`)
     - If valid packet with sequence number 0 (not corrupted and having sequence number 0) → Extracts data, delivers data and sends ACK 0. Moves to next state.
     - If corrupted or sequence number is not 0 → Sends ACK 1.
   
2. **Wait for 1 from below**:
   - Receives packet (`rdt_rcv(rcvpkt)`)
     - If valid packet with sequence number 1 (not corrupted and having sequence number 1) → Extracts data, delivers data and sends ACK 1. Moves to next state.
     - If corrupted or sequence number is not 1 → Sends ACK 0.

Below the FSM diagrams, there is
Transcribed Image Text:### The RDT 3.0 Protocol As we learned in class, the rdt3.0 protocol reliably transfers data from sender to receiver over a channel that can corrupt, lose and delay (but not reorder) packets. The rdt 3.0 sender and receivers (taken verbatim from the textbook and from our class notes) are shown below FYI. Recall that the sender starts in state "Wait for call 0 from above", and the receiver starts in state "Wait for 0 from below". #### RDT 3.0 Sender: The diagram represents the sender's finite state machine (FSM) with the following states and transitions: 1. **Wait for call 0 from above**: - `rdt_send(data)` - Creates a packet with sequence number 0 and checksum. - Sends the packet and starts a timer. 2. **Wait for ACK 0**: - Receives packet (`rdt_rcv(rcvpkt)`) - If packet is neither corrupted nor ACK 0 → State remains - If packet is corrupted or ACK is not 1 → Resend packet and reset timer - If packet is ACK 0 → Stop timer and move to next state. 3. **Wait for call 1 from above**: - Same as state 1 but with sequence number 1. 4. **Wait for ACK 1**: - Same as state 2 but with ACK 1 validation. #### RDT 3.0 Receiver: The diagram represents the receiver's FSM with the following states and transitions: 1. **Wait for 0 from below**: - Receives packet (`rdt_rcv(rcvpkt)`) - If valid packet with sequence number 0 (not corrupted and having sequence number 0) → Extracts data, delivers data and sends ACK 0. Moves to next state. - If corrupted or sequence number is not 0 → Sends ACK 1. 2. **Wait for 1 from below**: - Receives packet (`rdt_rcv(rcvpkt)`) - If valid packet with sequence number 1 (not corrupted and having sequence number 1) → Extracts data, delivers data and sends ACK 1. Moves to next state. - If corrupted or sequence number is not 1 → Sends ACK 0. Below the FSM diagrams, there is
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Types of Protocols
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
  • SEE MORE 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