When you open a web page, your request is chopped into tiny packets, flung across the world through dozens of machines you'll never see, and reassembled in the right order on the far side — all in a fraction of a second. The rules that make this reliable are called protocols, and the internet is really just a giant agreement to follow them.
Packets and TCP/IP
Data is split into packets, each carrying a header (the source and destination IP addresses and a sequence number) and a payload (a slice of the actual data). Two protocols do the heavy lifting. IP (Internet Protocol) handles addressing and routing — getting each packet to the right machine. TCP (Transmission Control Protocol) handles reliability — splitting the data, numbering packets, checking none are missing, and reassembling them in order. Picture posting a long book one page at a time in numbered envelopes: IP writes the address, TCP numbers the pages so they can be rebuilt correctly even if they arrive out of order.
DNS: the internet's phone book
People remember names like triomatic.co.uk, but computers route using numeric IP addresses. The DNS (Domain Name System) translates one into the other. When you type a web address, your device asks a DNS server, "What is the IP for this name?" and gets a number back before the request is sent. It is exactly like looking up a contact's name to find their phone number.
HTTP, HTTPS and layers
HTTP is the protocol for requesting and sending web pages. HTTPS is the same, but encrypted — the padlock in the address bar means data is scrambled so eavesdroppers can't read your passwords or card details. Protocols are organised into layers, each doing one job and passing work to the next, so designers can improve one layer without rewriting the rest.
| Protocol | Job |
|---|---|
| TCP | Splits data, checks and reorders packets |
| IP | Addresses and routes packets |
| DNS | Turns a domain name into an IP address |
| HTTP / HTTPS | Requests web pages (HTTPS is encrypted) |
Tip: Before entering a password or card number, check for https and the padlock. Plain http sends everything as readable text that anyone on the network could capture.