Networking

TCP/IP

TCP/IP is the set of rules computers use to send data across the internet. IP handles addressing and routing; TCP makes the delivery reliable.

IP addresses

Every device on a network has an IP address, like 93.184.216.34. Routers use it to forward packets toward the destination.

Packets

Data is split into small packets. Each travels independently and may take a different route, then they're reassembled at the other end.

Ports and TCP

A port number identifies a specific program on a machine (web servers usually use 443). TCP adds acknowledgements and retransmission so nothing is silently lost.