AlgoViz
🌐 How computers talk

Networking

You type an address, press enter, and a page appears — but how did your message cross the whole planet and come back in under a second? These lessons follow that journey from zero: how computers find each other by address, chop a message into packets, hand it router to router across the internet, lock it so nobody can snoop, and put the page on your screen. By the end, "visiting a website" is no longer magic.

  1. 1

    What is a network?

    Easy

    Two or more computers connected so they can pass messages. That's the whole idea — everything else is detail.

  2. 2

    Client & server

    Easy▶ has animation

    On a network, somebody asks and somebody answers. The asker is the client, the answerer is the server.

  3. 3

    IP addresses

    Easy

    Every machine on a network needs a unique number so messages can find it — like a house address for computers.

  4. 4

    The protocol stack

    Medium

    The internet is built in layers, each with one job. Stack them and a web page reaches you. The big mental model.

  5. 5

    Packets & routing

    Easy

    A message is chopped into little packets, each labelled with the destination, sent off separately, and passed router to router until it arrives.

  6. 6

    TCP vs UDP

    Easy▶ has animation

    Two ways to send packets: TCP the careful courier (checks everything arrives in order) or UDP fire-and-forget (faster, but doesn't look back).

  7. 7

    Ports & sockets

    Medium

    An IP address finds the right machine, but a machine runs many programs at once — a port number says which program the message is for.

  8. 8

    DNS — the internet's phonebook

    Easy▶ has animation

    You type a name like google.com, but machines only understand numbers. DNS is the lookup that turns the name into its IP address.

  9. 9

    HTTP & HTTPS

    Easy

    HTTP is the language browsers and servers speak to ask for and send web pages. HTTPS is the same language, but locked so nobody can snoop.

  10. 10

    What is TLS? (the padlock)

    Medium

    TLS is the layer that locks the connection — it proves the server is real and scrambles everything you send, so snoopers see only noise. That's the padlock.

  11. 11

    NAT & firewalls

    Medium

    Your whole home hides behind one public address (NAT), and a guard decides which messages are allowed through (firewall).

  12. 12

    CDNs — caching the web

    Easy

    A CDN keeps copies of popular content close to users all over the world, so a nearby server answers instead of one across the planet.

  13. 13

    What happens when you visit a website

    Medium▶ has animation

    Type a URL, press enter — and seven invisible steps fire in order to put the page on your screen. The whole track, in one journey.