To move data across the massive web of the internet, systems rely on a combination of different protocols working together at different layers. Here are the most critical internet protocols you must know.
TCP operates at the Transport Layer. It is a Connection-Oriented protocol, meaning it establishes a formal connection between the sender and receiver before sending any data (using a "Three-Way Handshake").
Before TCP sends any actual data, the two computers must formally agree to communicate. This is exactly how it works:
(Security Note: Hackers exploit this process using a "SYN Flood DDoS Attack". They send millions of step 1 "SYN" requests to a server, but intentionally never reply with step 3. The server leaves millions of connections half-open, waiting forever, until its memory is completely exhausted and it crashes).
UDP also operates at the Transport Layer, but it is Connectionless. It simply fires the data at the receiver as fast as possible without checking to see if it actually arrived.
IP is the foundational protocol of the Internet Layer. Its sole job is to provide the logical addressing mechanism so packets know where to go.
192.168.1.1). Because the world ran out of IPv4 addresses, we created IPv6.2001:0db8:85a3:0000:0000:8a2e:0370:7334).ICMP is a supporting protocol used by network devices (like routers) to send error messages and operational information.
ping uses ICMP echo requests to check if a distant server is online and responding.ARP is the protocol that bridges the gap between logical and physical networking. It translates a known IP Address (Layer 3) into an unknown MAC Address (Layer 2) on a local network.
Why did we have to upgrade from IPv4 to IPv6?
192.168.1.1). This mathematically allows for exactly 4.3 billion unique addresses. In the 1980s, this seemed like infinity. However, with the invention of smartphones and IoT devices (smart TVs, fridges, cars), the world completely ran out of available IPv4 addresses.Because IPv4 addresses are so rare and expensive, network engineers use Subnetting to divide a single large network into smaller, efficient chunks so no IP addresses are wasted. You will often see IP addresses written with a slash, like 192.168.1.0/24. This slash is called CIDR notation (Classless Inter-Domain Routing), and it tells routers exactly how big the subnet block is.
Which protocol is "connectionless," extremely fast, and frequently used for live video streaming and online gaming?