02. Transport Layer
Responsible for process-to-process communication.
- UDP (User Datagram Protocol)
- A fast, connectionless "fire-and-forget" protocol.
- No prior setup and no guarantee of delivery.
- For applications where speed is critical and minor data loss is acceptable, such as live video streaming or online gaming.
- TCP (Transmission Control Protocol)
- A reliable, connection-oriented protocol.
- Ensures all data arrives in the correct order and without errors.