TCP Retransmission

Duration: 4 min

This video lesson is available to enrolled students.

Enroll to watch — DSSSB TGT Computer Science 2026 Section B

AI Summary

An AI-generated summary of this video lecture.

The lecture provides a comprehensive overview of TCP Retransmission mechanisms used to ensure reliable data delivery. It begins by defining the scenario where a sender transmits segments that might get lost in transit. The core concept is that if a segment is lost, the receiver sends an acknowledgement with the same ACK number, prompting the sender to retransmit the same segment. The video highlights two specific triggers for this retransmission: the expiration of a Time Out Timer or the receipt of three duplicate acknowledgements. The instructor then delves into the Time Out Timer mechanism and concludes with a detailed example of a sender transmitting five segments where the second one is lost, illustrating the generation of duplicate ACKs.

Chapters

  1. 0:00 2:00 00:00-02:00

    The session starts with a slide titled "TCP Retransmission". The text explains that after connection establishment, the sender transmits segments which may get lost. The instructor explains that this causes the receiver to send an acknowledgement with the same ACK number, leading to retransmission. The slide explicitly lists the conditions for discovery: "Either Time Out Timer expire or it receives three duplicate acknowledgements". The instructor discusses these general principles, setting the stage for specific mechanisms. He emphasizes that the sender discovers the loss when the timer expires or duplicate ACKs are received, which is the fundamental trigger for the retransmission process described in the lecture.

  2. 2:00 4:13 02:00-04:13

    The topic shifts to "Retransmission after Time out Timer Expiry". A diagram shows a sender and receiver with a "Lost Segment" and "Retransmit Same Segment" arrow. The text states that if the sender does not receive an acknowledgement before the timer goes off, it assumes the segment is lost and retransmits. The instructor then moves to a new slide: "Consider Sender sends 5 TCP segments...". He details a scenario where the second segment is lost. He explains that receiving segment 1 sends an ACK for segment 2. When segment 2 is lost, segments 3, 4, and 5 arrive, causing the receiver to send "1st duplicate ACK", "2nd duplicate ACK", and "3rd duplicate ACK". The instructor concludes that upon receiving these three duplicate ACKs, the sender retransmits segment 2 immediately without waiting for the timer. The slide text explicitly lists the sequence: "On receiving segment 1, receiver sends acknowledgement asking for segment 2 next. (Original ACK)", followed by the duplicate ACKs for segments 3, 4, and 5. This example clarifies how the sender reacts to the loss of the second segment in a sequence of five.

The lecture systematically explains TCP reliability. It starts with the fundamental problem of lost segments and the general solution of retransmission. It then breaks down the two detection methods: timeout and duplicate ACKs. The final example solidifies understanding by showing exactly how duplicate ACKs are generated when a specific segment is missing from a sequence, triggering an immediate retransmission. This progression from general concept to specific mechanism to concrete example ensures a clear understanding of TCP's error recovery.