DEV Community

Cover image for What is the Internet? How is Data Transmitted Across Networks?
Yulin
Yulin

Posted on

2 1

What is the Internet? How is Data Transmitted Across Networks?

The web is one of the many applications to access the internet, and web browsers are just a computer program that enables you to view and download webpages. What happens when you click enter on the address bar?

What is the Internet?

The internet is a decentralised network of networks (of computers). Each connected computer have an unique address called IP (Internet Protocol) address. The internet is composed of three parts:

  1. The last mile, provided to homes and businesses through TV companies, fibre optics, telephone cables, towers (wireless).
  2. Data centres, rooms of servers that store data and host content.
  3. The backbone, networks that carry data between data centres and consumers.

Data Centres <--> Backbone <--> Last Mile (Consumers)

You can use the built-in ping program to see if your computer is alive on the internet. Open the terminal and type the following command:

ping www.google.com
Enter fullscreen mode Exit fullscreen mode

The ping program maps the domain name to the computer's IP address, sends a ICMP (Internet Control Message Protocol) request and comes back with a reply.

Transmission of Data

The human readable data needs to be resolved into electronic signals for machines before it reaches the backbone, protocol stack in the operating system takes care of this job.

Message on the sender machine goes through 4 protocol layers in a broad sense:

  1. Application Protocol Layer, where user interacts and specific for each application e.g. HTTP
  2. Transmission Control Protocol (TCP) Layer, directs packets of data to the correct application (i.e. listening port) once it arrives on the target computer
  3. Internet Protocol Layer, packets directed to computer associated with the IP address
  4. Hardware layer, converts between binary data and network signals

TCP/IP standard is the foundation of modern internet, which is why the protocol stack is also known as TCP/IP stack.

The packets then will make their journey through several routers and backbones until they find the target destination. Each router knows its sub-networks and holds an IP address table for that region, it acts as a packet switch to direct packets in the routing hierarchy. Use the trace route program to see the path taken in action:

traceroute www.google.com
Enter fullscreen mode Exit fullscreen mode

On the receiver side, the packets of data goes through the layers in reverse order to reconstruct the original message.

Well Known Port Numbers

Protocol Port
FTP 20/21
Telnet 23
SMTP 25
HTTP 80

References

The Internet Explained
How Does the Internet Work?

Image of Wix Studio

2025: Your year to build apps that sell

Dive into hands-on resources and actionable strategies designed to help you build and sell apps on the Wix App Market.

Get started

Top comments (0)

Cloudinary image

Zoom pan, gen fill, restore, overlay, upscale, crop, resize...

Chain advanced transformations through a set of image and video APIs while optimizing assets by 90%.

Explore

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay