100

How the Internet Finds Your Data’s Path

A message starts on your phone or laptop. The network divides it into packets before sending it onward.

🧵 1/5

Each packet pairs a header with a payload. The header carries origin and destination IP addresses; the payload carries the data itself.

🧵 2/5

A router reads the destination IP, compares it with routing-table prefixes, then forwards the packet using the longest matching prefix.

🧵 3/5

TCP uses sequence numbers to reorder data, acknowledgments to confirm receipt, and retransmission to repair loss. The destination then reassembles the original data.

🧵 4/5

The system-level takeaway: packet headers guide each hop, while TCP turns separately delivered pieces into one ordered data stream at the destination.

🧵 5/5