Protocols
Computer communication would be otherwise impossible without protocols. As a matter of fact, protocols are central to everything we do on the internet or other forms of computer networks. We'll discuss what they are and how they work.
important
Protocols are well-defined rules that determine how computers communicate with each other.
Let's consider this example:
https://google.com is a website you can access every day on the internet. Below is a concise description of what happens behind the scenes when you visit a webpage. (Some technical terms are included, but they will be explained on the next page.)
As you might have noticed, a webpage address typically starts with http:// or https://.
-
The browser uses a DNS 1 resolver to translate the domain name into an IP2 address of the server.
-
The browser uses this IP address to connect to the server and request for a copy of the resource.
-
The server resolves this request and responds to the browser.
-
The browser receives the response and parses it as HTML3.
-
The browser renders the page.
When all these steps happen, we typically say that "the page is loading."
As established earlier in this module, the internet is a collection of resources, and everything we access on the web is stored on a computer somewhere. HTTP4 is the protocol that lets us request and access those resources.