← Computer Networks learning pathComputer Networks · Module 5 of 10
Transport layer: TCP and UDP
Deliver data reliably or quickly.
📖 Key ideas
- TCP is connection-oriented, reliable and ordered.
- Three-way handshake: SYN, SYN-ACK, ACK.
- Flow control and congestion control manage speed.
- UDP is connectionless and fast, with no guarantees.
- Ports identify applications: 80, 443, 53, 22.
💡 Real-life example: TCP is registered post with tracking; UDP is dropping a postcard in the box.
TCPReliable connection-oriented protocol
UDPFast connectionless protocol
PortNumber identifying an application
HandshakeConnection setup