Thursday, January 22, 2009

How Internet Works?

The thing that characterises the Internet is how data transferred from one computer to another. Did you ever wonder what magical things go on behind the scenes that results in a Web page being displayed on your screen seconds after you request it? How does the data get from one side of the world to the other?
Here's what happens to a piece of data (eg. a Web page) when it is transferred over the Internet:
It is broken up into a whole lot of same-sized pieces (called packets).
A header is added to each packet that explains where it came from, where it should end up and how it fits in with the rest of the packets.
Each packet is sent from computer to computer until it finds its way to its destination. Each computer along the way decides where next to send the packet. This could depend on things like how busy the other computers are when the packet was received. The packets may not all take the same route.
At the destination, the packets are examined. If there are any packets missing or damaged, a message is sent asking for those packets to be resent. This continues until all the packets have been received intact.
The packets are reassembled into their original form.

Each computer connected up to the Internet has software called TCP/IP (Transmission Control Protocol/Internet Protocol) which is responsible for receiving, sending and checking packets. TCP/IP is the 'glue' of the Internet.

No comments: