Skip to content
StackDecode
System Design
2. Networking FundamentalsAnimated

Computer Networking Basics

How computers send data to each other across networks.

The idea

Devices have addresses, data is cut into packets, and routers forward those packets hop by hop until they arrive. Protocols agree how to talk.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientServerSYN seq=x
  • current message
  • earlier
  • failure or attack

The client asks to open a connection and proposes a starting sequence number.

step:
1/5
from:
Client
to:
Server
1/5

Time runs downward. Solid arrows are requests, dashed arrows are replies.

Step by step

  1. 1Break data into packets
  2. 2Address each packet
  3. 3Route packets across networks
  4. 4Reassemble and deliver them

Where it is used

The foundation for every networked system.

Watch out for

The network is unreliable: packets are lost, delayed and reordered.

Related