Understanding Networking by How you Shop
Understanding Computer Networks
Understanding Networking by Layman’s terms.
An analogy when explaining networks –
There is a shoe shop, you want to go to. This shop is located in a shopping complex which has other shops as well. To reach to the correct shop, you need the shop no. and address of the shopping complex. Some of the shops may be closed or not occupied.
Software service is similar to services provided by shop. Complete shop address includes the complex address which is IP Address in Computer science and shop no. which is called port. Complex Address and shop no. constitutes the final endpoint (destination). IP Address and port constitutes the network socket which is the final endpoint in networks. Some shops may be unoccupied. Similarly, some ports may not be running any software service.
Complex Address=IP Address
Shop Number=Port Number
This can be extended more..
To reach the shop, you may change buses as there may not be a direct route to the complex. You will stop at different bus stations such that it takes least amount of time. These bus stations are similar to routers in networks. A network request from client is transmitted through these routers to server as there may not be a direct route between two different computers.
More can be added to the same analogy.
Courtesy: Abhishek Agarwal