Broadening Horizons Lifestyle Recipes Technology Art gallery Contact Subscribe

How Computers Talk- A postoffice analogy

By Shreya

Communication has become one of the most important traits of the modern world. It's the proper delivery of the message between 2  people or entities which has turned the world into a nutshell. Humans have developed various modes of communication to deliver their messages to their near and dear ones. Starting from passenger pigeons to postcards we have seen many forms of communication. But have you ever wondered how two computers communicate?

Let's discuss an analogy between our traditional postal system and the communication between computers which in other words is called computer networking. The computers use TCP/IP protocol to communicate with other computers. As the postal system is divided into different parts or entities similarly the TCP/IP protocol is divided into 5 layers. So let's look at the analogy!

  1. Application layer - In the case of a postal system the first step is the sender writes a message on a piece of paper, puts the address on it and drops it in the post box. In this layer, a particular application writes a message for a destination application and sends it to the next layer.
  2. Transport Layer - In case the address written on the envelope is wrong the post office stamps it as an "unknown address" and sends it back to the sender. Similarly, in the case of computers, the transport layer checks if the destination exists and is willing to accept the message.
  3. Network Layer - The letter is next sent by road or airways to the post office of the receiver's city. This Layer in the case of computers also sends the message from the source network to the destination network via routers.
  4. Data Link Layer - This is similar to the delivery of letters by the postman inside the city to particular addresses. In the case of computers, the most commonly used protocol in the data link layer is the ethernet protocol and it sends data using switches within the same network.
  5. Physical Layer - The receiving of the letter by the receiver and reading it is similar to the function of the physical layer. In this layer, the destination application receives the messages and decrypts them.

Easy right? This is how we can relate our traditional postal service system to TCP/IP protocol for computer networking. However, in the case of the traditional postal system, there were many inefficiencies like the threat of message being read by anyone or not being delivered deliberately which was overcome to a large extent by the TCP/IP protocol.