Question:medium

A developer is designing a network application. She needs reliable delivery of messages with error checking, sequencing, and acknowledgment, but another part of her application needs fast transmission of data without delay, and occasional data loss is acceptable. Identify the protocols should she use for the above two cases?

Show Hint

TCP = "Phone Call" (Must establish connection, both must hear).
UDP = "Postcard" (Send it and hope it arrives; much faster but no confirmation).
Updated On: Jul 4, 2026
  • Use TCP for reliable delivery, and UDP for fast, unreliable transmission.
  • Use UDP for reliable delivery, and TCP for fast, unreliable transmission.
  • Use TCP for both reliable and fast transmission.
  • Use UDP for both cases because it’s faster than TCP.
Show Solution

The Correct Option is A

Solution and Explanation

Was this answer helpful?
0