What is the difference between TCP and UDP?
What is the difference between TCP and UDP?
Approach: Compare reliability and connection state.
TCP is a connection-oriented protocol that guarantees delivery and order of packets. UDP is connectionless, faster, but does not guarantee delivery or order.
Follow-up: When would you use UDP over TCP?
Key concepts: three-way handshake, packet loss, overhead.