Computer Networking Basics

What triggers a TCP sender to decide that a segment was lost and retransmit it?

  1. AReceiving a negative acknowledgment (NAK) from the receiver asking for the missing segment to be resent
  2. BReceiving an ICMP message from a router along the path saying it dropped the packet
  3. CNo ACK returning within a set time (retransmission timeout), or receiving several ACKs in a row with the same acknowledgment number (duplicate ACKs)
Show answer and explanation

Answer: C. No ACK returning within a set time (retransmission timeout), or receiving several ACKs in a row with the same acknowledgment number (duplicate ACKs)

A TCP receiver returns, in its ACKs, the number following the data it has received (the next sequence number it expects). If a segment in the middle is lost, it keeps returning ACKs with the same number (duplicate ACKs) even as later segments arrive. When the sender receives three duplicate ACKs, it retransmits that segment without waiting for a timeout (fast retransmit). If no ACK returns at all, it retransmits after a retransmission timeout derived from RTT measurements, doubling the timeout with each repeated failure. TCP has no negative acknowledgment (NAK), and routers generally do not report packets dropped due to congestion, so loss is inferred from the pattern of ACKs.

  • A. TCP has no negative acknowledgment (NAK); the sender infers loss from the ACKs.
  • B. Routers generally do not notify the source about packets dropped due to congestion.
  • C. Correct. The triggers are the retransmission timeout and fast retransmit on duplicate ACKs.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. What is the main role of DNS (Domain Name System)?
  2. A full-service resolver (caching DNS server) with an empty cache looks up the IP address of www.example.com. In what order does it query servers?
  3. When a device obtains an IP address with DHCP, what is the correct order of messages?
  4. Which of the following does HTTPS (HTTP protected by TLS) protect?
  5. In TLS, why can a browser conclude that the server it connects to is not an impostor?