Networking · Flashcard
What is the key difference between TCP and UDP?
Why this is the answer
TCP sets up a connection and guarantees ordered, reliable delivery; UDP just fires packets with no setup or guarantees. A connectionless TCP and a reliable, connection-oriented UDP reverses them, and neither protocol is defined by encryption or by being limited to local versus internet use.
Read more in the docs