A developer is choosing a transport protocol for an application that uploads accounting records to a server. Every byte must arrive intact and in its original order, and any lost data must be retransmitted automatically. Which protocol best meets this requirement?
TCP is connection-oriented and delivers a reliable, in-order byte stream, detecting loss through sequence numbers and correcting it through retransmission, which exactly satisfies the requirement.
- AThis option chases minimal overhead, but UDP offers no acknowledgments or retransmission, so lost or duplicated datagrams are never recovered, which fails the all-bytes-intact-and-ordered requirement.
- BSMTP is an application-layer protocol used to send and relay email between servers, not a transport-layer protocol, so it cannot itself supply the reliable ordered byte stream the scenario demands.
- DIP is the best-effort network-layer protocol that only addresses and forwards datagrams; on its own it never guarantees delivery, ordering, or retransmission, so it cannot meet the reliability requirement.