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 texbook and frmo our class notes) are shown below FYI. Recall that the sender starts in state "Wait for call 0
from above", and the recceiver starts in state "Wait for O from below".
rdt_rcv(rcvpkt)
A
rdt_rcv(rcvpkt)
&& notcorrupt(rcvpkt)
&& isACK(rcvpkt,1)
stop_timer
timeout
udt_send(sndpkt)
start_timer
rdt_rev (revpkt) &&
(corrupt (revpkt)||
has_seq1 (revpkt))
sndpkt-make_pkt
(ACK, 1, checksum)
udt_send (sndpkt)
rdt_rcv(rcvpkt) &&
(corrupt(rcvpkt) ||
isACK(rcvpkt,0))
A
send packet
receive ACK
send packet
sender
timeout
send packet
receive ACK
send packet t6
02
O O
0 1
Wait for
call 0 from
above
rdt_send(data)
rdt_rcv(rcvpkt) &&
sndpkt make_pkt(0, data, checksum) (corrupt(rcvpkt) ||
udt_send(sndpkt)
isACK(rcvpkt, 1))
A
start_timer
Wait
for
ACK1
rdt3.0 sender
extract (revpkt, data)
deliver_data (data)
sndpkt-make_pkt (ACK, 0, checksum)
udt_send(sndpkt)
rdt_rev (revpkt) && notcorrupt (revpkt)
&&has_seq0 (revpkt)
Wait for RDT 3.0
0 from
below receiver
loss
rdt_send(data)
sndpkt make_pkt(1, data, checksum)
udt_send(sndpkt)
start_timer
extract (revpkt, data)
deliver_data (data)
sndpkt-make_pkt (ACK,1, checksum)
udt_send(sndpkt)
rdt_rev (revpkt) && notcorrupt (revpkt)
& & has_seql (revpkt)
Now consider the diagram below showing the operating of the rdt3.0 protocol. In this diagram, we have intentionally
left out the sequence numbers and ACK numbers in the packets sent by rdt3.0 (that's what we'll ask about in this
question).
receiver
Wait
for
ACKO
receive packet
¹¹send ACK
t3
receive packet
send ACK
Wait for
1 from
below
receive packet
send ACK
Wait for
call 1 from
above
O There is no sequence number used on this packet.
timeout
rdt_rcv(rcvpkt)
udt_send(sndpkt)
start_timer
&& notcorrupt(rcvpkt)
&& isACK(rcvpkt,0)
stop_timer
rdt_rcv(rcvpkt)
A
What is the sequence number on the packet sent by the sender at time t₂? (Note: there is only one correct answer
below).
rdt_rev (revpkt) &&
(corrupt (revpkt) ||
has_seq0(revpkt))
sndpkt-make_pkt (ACK, 0,checksum)
udt_send(sndpkt)
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 texbook and frmo our class notes) are shown below FYI. Recall that the sender starts in state "Wait for call 0 from above", and the recceiver starts in state "Wait for O from below". rdt_rcv(rcvpkt) A rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isACK(rcvpkt,1) stop_timer timeout udt_send(sndpkt) start_timer rdt_rev (revpkt) && (corrupt (revpkt)|| has_seq1 (revpkt)) sndpkt-make_pkt (ACK, 1, checksum) udt_send (sndpkt) rdt_rcv(rcvpkt) && (corrupt(rcvpkt) || isACK(rcvpkt,0)) A send packet receive ACK send packet sender timeout send packet receive ACK send packet t6 02 O O 0 1 Wait for call 0 from above rdt_send(data) rdt_rcv(rcvpkt) && sndpkt make_pkt(0, data, checksum) (corrupt(rcvpkt) || udt_send(sndpkt) isACK(rcvpkt, 1)) A start_timer Wait for ACK1 rdt3.0 sender extract (revpkt, data) deliver_data (data) sndpkt-make_pkt (ACK, 0, checksum) udt_send(sndpkt) rdt_rev (revpkt) && notcorrupt (revpkt) &&has_seq0 (revpkt) Wait for RDT 3.0 0 from below receiver loss rdt_send(data) sndpkt make_pkt(1, data, checksum) udt_send(sndpkt) start_timer extract (revpkt, data) deliver_data (data) sndpkt-make_pkt (ACK,1, checksum) udt_send(sndpkt) rdt_rev (revpkt) && notcorrupt (revpkt) & & has_seql (revpkt) Now consider the diagram below showing the operating of the rdt3.0 protocol. In this diagram, we have intentionally left out the sequence numbers and ACK numbers in the packets sent by rdt3.0 (that's what we'll ask about in this question). receiver Wait for ACKO receive packet ¹¹send ACK t3 receive packet send ACK Wait for 1 from below receive packet send ACK Wait for call 1 from above O There is no sequence number used on this packet. timeout rdt_rcv(rcvpkt) udt_send(sndpkt) start_timer && notcorrupt(rcvpkt) && isACK(rcvpkt,0) stop_timer rdt_rcv(rcvpkt) A What is the sequence number on the packet sent by the sender at time t₂? (Note: there is only one correct answer below). rdt_rev (revpkt) && (corrupt (revpkt) || has_seq0(revpkt)) sndpkt-make_pkt (ACK, 0,checksum) udt_send(sndpkt)
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