QuestionQ858

IP Connectivity

How do TCP and UDP differ in the way they provide reliability for packet delivery?

  • A TCP does not guarantee delivery or error checking to ensure that there is no corruption of data, UDP provides message acknowledgement and retransmits data if lost.
  • B TCP provides flow control to avoid overwhelming a receiver by sending too many packets at once, UDP sends packets to the receiver in a continuous stream without checking.
  • C TCP is a connectionless protocol that does not provide reliable delivery of data; UDP is a connection-oriented protocol that uses sequencing to provide reliable delivery.
  • D TCP uses windowing to deliver packets reliably; UDP provides reliable message transfer between hosts by establishing a three-way handshake.
Explanation

TCP provides reliable transport by using mechanisms such as acknowledgments, retransmissions, sequencing, and window-based flow control so a sender does not overwhelm a receiver. UDP is connectionless and does not provide transport-layer reliability features such as acknowledgments or retransmission, so delivery is best-effort. Because of that, the choice describing TCP flow control and contrasting it with UDP's lack of checking is the correct one.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!