TCP vs UDP (When to Use What)
Programming Interview
Easy
6 views
Problem Description
Explain the practical difference between TCP and UDP, and give one real use-case for each.
Official Solution
TCP is connection-oriented and guarantees ordered, reliable delivery (good for web pages, file transfer). UDP is connectionless and can drop/reorder packets but has lower overhead and latency (good for live video/voice, online games).
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!