Networking Concepts
A file transfer application must guarantee that every byte arrives complete and in order, even if packets are lost along the way. Which protocol should it use at the transport layer?
Show the answer
Correct answerB. TCP
AWhy not this: UDP is connectionless and best-effort; lost datagrams are not retransmitted or reordered.
BWhy this is right: TCP provides sequencing, acknowledgments and retransmission, giving reliable, ordered delivery.
CWhy not this: GRE only encapsulates packets in a tunnel and adds no reliability or ordering guarantees.
DWhy not this: ICMP reports errors and status at the network layer; it does not carry application data reliably.
TCP is connection-oriented and uses sequence numbers, acknowledgments and retransmission to guarantee ordered, complete delivery. UDP is connectionless and does not retransmit lost data, so it cannot give this guarantee.