DSA Factory
All free lessons
Computer networks

Free The transport layer lessons

5 lessons, about 1 hour in all. Each teaches one idea with a visual, then gives you a problem or a few questions on it. Read the lessons here, then create a free account to practise and keep your progress.

Stage 0Between processes

  1. Ports, sockets and UDPSee how one machine's many programs share one IP address, what UDP adds to IP, and when that is enough.13 min
  2. TCP connectionsFollow the three-way handshake that opens a connection and the four segments that close it.14 min

Stage 1Reliability and speed

  1. Reliable deliverySee how TCP uses acknowledgements, a timer that adapts to the round-trip time, and duplicate ACKs to recover from loss.14 min
  2. Flow control and the receive windowSee how the receiver sets a limit on the sender, and why a small window cripples a long, fast link.12 min
  3. Congestion controlWatch TCP probe for capacity with slow start and additive increase, and cut back when it loses a packet.15 min

All of The transport layer is free

That’s the whole topic, from the first idea to the mastery stage, with no card needed. Create a free account to practise, keep your progress and carry on to the next topic.

Create your free account