Chapter I: Networking & Web Fundamentals
TCP and UDP
Reliable connection-oriented streams vs. fast connectionless datagrams.
In short
TCP is reliable and connection-oriented; UDP is fast and connectionless.
Loading diagram…
Key takeaways
- TCP = reliability and ordering; UDP = speed and simplicity.
- Real-time media and DNS prefer UDP.