Communication Networks · Visualized

Message Through a Network

Network Basics

What a communication network is, the shapes it can take, and the geographic scales it spans.

4 interactive subtopics — each one animated, step-through and explained.

Message Through a Network

Network Basics

No direct wire connects your laptop to a server on another continent. Instead, your message hops through intermediate devices — switches and routers — each of which reads just enough addressing information to push it one step closer. Watching one packet make those hops is the foundation for every other topic in this section.

How Message Through a Network Works

  1. The sender hands the data to its nearest router (the default gateway).
  2. Each router inspects the destination address and picks the next hop toward it.
  3. Every hop adds a small delay: transmission time, propagation on the wire and queueing in the router.
  4. The final router delivers the data to the destination host.
  5. If any hop fails or drops the packet, higher layers (like TCP) arrange a replacement copy.

Message Through a Network Worked Example

Try it: Play the run below — a request travels Laptop → R1 → R2 → Server.

The packet leaves the laptop, R1 forwards it toward the backbone, R2 passes it to the server's local network, and the reply retraces the path. Four hops, four tiny delays — that round-trip is your ping time.

PCsenderR1routerR2routerSRVreceiver
current hop active link idle
Stage 1 / 7
The app hands “GET /page” to the network. First stop: the default gateway.

Message Through a Network: Key Facts to Remember

Per-hop coststore-and-forward: receive full frame, check it, then retransmit
Latency budgetpropagation + transmission + processing + queueing at each hop
See it livetraceroute prints exactly this hop-by-hop path with timings

Recommended resourcesAffiliate links · may earn us a commission

Recommended for learners

Cloud hosting for side projectsShip the portfolio project that gets you hired — free credits for new accounts.Claim credits Pro code editor & AI assistantWrite, debug and explain code faster while you practice the patterns here.Try it free Structured coding coursesVideo courses that pair well with visual practice — pick one language and go deep.Browse courses

See how packets really travel

Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.