Which statement correctly distinguishes TCP from UDP as transport-layer protocols?
- ATCP is connection-oriented and uses a three-way handshake to provide ordered, reliable delivery, whereas UDP is connectionless and sends datagrams without acknowledgement. Correct
- BUDP opens a session with a three-way handshake and retransmits any lost segments, while TCP sends datagrams with no acknowledgement.
- CBoth TCP and UDP guarantee reliable in-order delivery and differ only in the range of well-known port numbers each is allowed to use.
- DTCP is connectionless and therefore faster for streaming, while UDP is connection-oriented and resends any packets that fail to arrive at the receiver.
Why A is correct: TCP sets up a session and guarantees ordered delivery with acknowledgements and retransmission, while UDP is a lightweight connectionless protocol that trades reliability for speed.
Why B is wrong: This is tempting because both protocols are real transport protocols, but the attributes are reversed: the handshake and retransmission belong to TCP, not UDP.
Why C is wrong: This sounds reasonable because both use the same well-known port space, but only TCP guarantees reliable ordered delivery; UDP makes no such guarantee.
Why D is wrong: The connectionless-versus-connection-oriented labels are swapped here: UDP is the connectionless one, and TCP is the protocol that resends lost packets.