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 set of rules that determines how computers communicates with each other.
Let's consider this example:
https://google.com
is a website accessed everyday on the internet. Below is concise description of what goes on under the hood when you visit this webpage. (Included some technical terms but I'll explain them on the next page).
As you have might have noticed, a webpage would typically start with an 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 sequence happens, we typically say that "the page is loading".
As established in the previous parts of this module, the internet is a collection of resources and everything we access on the web (internet) is stored on a computer somewhere. The HTTP4 is a protocol that help us make request to access these resources.
DNS is protocol which stands for a Domain Name System
IP - internet protocol
Hypertext Markup Language
HTTP - Hypertext Transfer Protocol