Transmission Control Protocol (TCP)

TCP is a connection-oriented protocol used by applications that require reliable data transfer. It's often compared to a phone call: before you can talk, you must establish a connection. Similarly, TCP ensures that data is delivered in the correct order, without errors or missing segments. It achieves this reliability through several key mechanisms:

In short, TCP prioritises reliability over speed, making it ideal for applications like web browsing, email, and file transfers where data integrity is critical.

Disadvantages - above process causes latency (i.e. phone calls could become inaudible)

Screenshot 2025-09-23 at 20.44.10.png

UDP

User Datagram Protocol (known as unrealiable)

Does not have the error handling and sequencing of TCP

Sole goal is to send data, perfect for real-time traffic

Screenshot 2025-09-23 at 20.43.35.png