Computer Science Logo

What is Computer Network and How they work?


What is Computer Networks?

Computer Network is a group of computers that are connected together to share files, folders or printers etc. Connecting those computers is termed as Computer Networking. Basically Networking is to share computer recourses (e.g. files or Printers) with other computers. We can create a local network through an Internet Cable and a Router.  A local network may of may not have an active internet connect as it does not require internet to connect to other computers locally.

What is the  Internet?

Internet is basically a network of Computers connected together. Internet is basically nothing more than a \”Interconnected Network\”. The webpage you are seeing right now is also just a file which is saved on a computer somewhere around the world.

How does the internet work?

Computer Networks uses IP Addresses to communicate to each others. IP Stands for \”Internet Protocol\”. Routers assign and manage IP addresses. There are two types of IPs. \”Public IP Address\” which are usable globally. \”Private IP Address\” which are usable locally. Internet Service Provider (ISP) assign a Public IP Address to you, and Routers assign Private IP Address. Private IP addresses are only usable locally and Public is usable globally. Internet basically uses TCP/IP or UDP Protocol to communicate and transfer data to each other.


When you try to open Google, your computer uses the TCP/IP protocol to communicate and retrieve the webpage from the Google\’s server. It first sends the request to the router with his private IP so that router knows who sent the request. Router then decide where to send that request and which will be the shortest path. Router attach the public IP with the data. Now when Google return the data containing Google\’s webpage it will send it to the Public IP which then received by the router. Router then determines that which local IP had sent this request and It will forward the data to that device.

How does the internet works?

Internet uses TCP or UDP to communicate to the server. in the above example, when you open Google, your device establishes the connection with Google server before requesting the webpage. To establish the connection, TCP uses its \”Three-Way Handshake\”, and to end the connection it uses \”Four-Way Handshake\”. You can read more about TCP Handshakes here. In Three-Way Handshake, TCP uses \”SYN\” and \”ACK\” flags to establish the connection and \”FIN\” and \”ACK\” to terminate the connection. You can read more about Flags here.

Thank you for visiting out website! You can ask any question regarding this and we\’ll try to answer ASAP.

Table of Contents

Share This Post With Your Friends

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on telegram
Share on whatsapp
Share on email
Share on print
Share on tumblr
Share on pinterest
Share on vk
Share on odnoklassniki
Aftab Ahmed

Aftab Ahmed

I am a student of Computer science and I explain the topics of Computer Science in a way that everyone can understand. My job is to make the topics simple for everyone so that they don't have to read through long and difficult books in order to understand the concepts.

Symmetric and Asymmetric Cryptography explained

What is Symmetric and Asymmetric cryptography?

If you decided to not read the above articles for some reason let’s have a sneak peek into what those words basically mean. The word Cryptography has been derived from the Greek word “kryptós” which means “Hidden or Secret”. Before we get further into it let’s discuss why do we even need encryption in the first place?

Read More »
TCP Flags - TCP Communication methods

TCP Flags – TCP Communication methods

TCP is a way of Secure communication in which the network makes sure that everything that has been sent has reached its destination without any loss in the packets. It uses the Flags to communicate with the receiver and ask for a confirmation on each packet it sends. It also uses the flags to establish the connection with the receiver so that it can know that receiver is able and willing to receive the data. Here is a detailed description of the most common TCP Flags and their function.

Read More »

Leave a Comment

Your email address will not be published.