TCP vs UDP?

BeginnerConceptNetworking
Answer

TCP is connection-oriented, reliable and ordered, with a handshake and retransmits (HTTP/1.1, HTTP/2, SSH). UDP is connectionless with no delivery guarantee, but low overhead (DNS, video, QUIC/HTTP/3).

All Real-World Interview questions Roadmap: Interview readiness

More on Networking