Go-Back-N and Selective Repeat: Reliable Data Transfer Protocols

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

What is Go-Back-N (GBN) in reliable data transfer?

A pipelined approach where the sender can send multiple packets before needing an acknowledgment, but must retransmit all packets from the lost one onward.

2
New cards

What type of acknowledgments (ACKs) does Go-Back-N use?

Cumulative ACKs, which acknowledge all packets up to a certain sequence number.

3
New cards

To which packet does the timeout in Go-Back-N apply?

The oldest unacknowledged packet.

4
New cards

What action does the GBN sender take upon a timeout?

Retransmits the oldest unacknowledged packet and all subsequent packets.

5
New cards

What does the GBN receiver do with out-of-order packets?

It discards them and waits for the missing packet to arrive.

6
New cards

What is Selective Repeat (SR) in reliable data transfer?

An approach where separate timers are used for each packet, allowing the receiver to buffer out-of-order packets.

7
New cards

How does the SR sender respond when data is received from above?

It constructs a packet and sends the data if there is room in the window; otherwise, it returns data to the application.

8
New cards

What happens when a packet's timer goes off in Selective Repeat?

Only that specific packet is retransmitted.

9
New cards

What does the SR sender do when an ACK is received?

If the ACKed packet is in the window, it marks it as received and may move the window forward.

10
New cards

What does the SR receiver do upon receiving a correctly sequenced packet?

It sends a selective ACK and delivers the packet's data along with any buffered packets with consecutive sequence numbers.

11
New cards

What does the SR receiver do with packets that are prior to the window?

It acknowledges them but discards their data since it has already been delivered.

12
New cards

What action does the SR receiver take when a corrupted packet is received?

It discards and ignores the corrupted packet.

13
New cards

What is the dilemma faced by the SR receiver when the sequence number space is small?

It cannot distinguish between new data and a retransmission if the sequence numbers are recycled.

14
New cards

What assumption is made about the network in reliable data transfer?

That the network will not reorder packets, as out-of-order packets may indicate packet loss.

15
New cards

What is done to prevent confusion with recycled sequence numbers in SR?

Ensure that the window size is no more than half the size of the sequence number space.

16
New cards

What is the significance of having a large sequence number space in reliable data transfer?

It reduces the likelihood of confusion between old and new packets in the event of packet reordering.

Explore top flashcards