3.1-transport-udp rdt

ExcitingRhodonite3899 avatar
ExcitingRhodonite3899
·
·
Download

Start Quiz

Study Flashcards

15 Questions

Which protocol uses a 'window' of up to N consecutive transmitted but unACKed packets?

Go-Back-N

What does the sender do when it receives an ACK(n) in the Go-Back-N protocol?

Move window forward to begin at n+1

What does the receiver do when it receives an out-of-order packet in the Go-Back-N protocol?

Buffer the packet

What does the receiver do when it receives a correctly-ordered packet in the Go-Back-N protocol?

Send ACK for the packet

What does the sender do when it receives a duplicate ACK in the Go-Back-N protocol?

Ignore the ACK

What does the sender do when it times out in the Selective repeat protocol?

Resend all unACKed packets

What is the purpose of the sender window in the Selective repeat protocol?

Limits seq #s of sent, unACKed packets

What is the purpose of the receiver window in the Selective repeat protocol?

Buffers packets for in-order delivery

What does the receiver do when it receives an out-of-order packet in the Selective repeat protocol?

Buffer the packet

What does the receiver do when it receives a correctly-ordered packet in the Selective repeat protocol?

Send ACK for the packet

What is the purpose of the sender window in the Go-Back-N protocol?

The sender window in the Go-Back-N protocol limits the sequence numbers of sent, unACKed packets.

What is the purpose of the receiver window in the Go-Back-N protocol?

The receiver window in the Go-Back-N protocol helps the receiver keep track of the sequence numbers of received and ACKed packets.

What does the sender do when it times out in the Go-Back-N protocol?

When the sender times out in the Go-Back-N protocol, it retransmits the oldest in-flight packet and all higher sequence number packets in the window.

What does the receiver do when it receives an out-of-order packet in the Selective repeat protocol?

When the receiver receives an out-of-order packet in the Selective repeat protocol, it can choose to either discard the packet or buffer it, depending on the implementation.

What relationship is needed between sequence number size and window size to avoid a dilemma in the Selective repeat protocol?

To avoid a dilemma in the Selective repeat protocol, the sequence number size should be greater than or equal to the window size.

This quiz tests your understanding of handling garbled ACK/NAKs in a sender using the rdt_send function. It covers topics such as making packets, sending and receiving packets, checking for corruption, and handling ACKs and NAKs.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

3.1 Diffusion of Gases
40 questions

3.1 Diffusion of Gases

WorkableCreativity2568 avatar
WorkableCreativity2568
TYBSc Sem 5 Paper 3.1 Biology Quiz
9 questions

TYBSc Sem 5 Paper 3.1 Biology Quiz

AccomplishedFeministArt avatar
AccomplishedFeministArt
Use Quizgecko on...
Browser
Browser