Freshersgo is a free job portal to find IT, BPO, Software, Technical,
A Platform To Showcase And Sell Your Crafts & Clothing.
Fueling entrepreneurship, Accelerating innovation.
How facile it has become with the whole world at your fingertips
where you're just one click away from something far beyond your
reach. Ever wondered what actually happens when you search on the
How facile it has become with the whole world at your fingertips where you're just one click away from something far beyond your reach. Ever wondered what actually happens when you search on the browser or when you're downloading a file? We will try to unearth most of the mysteries behind this.
So when you click on a file to download on any of the browsers, an HTTP request is sent to the server which replies back with a response to the browser. The request and response makes use of TCP/IP (Transmission control protocol/Internet protocol).Now there are two main protocols in general: one is the UDP(user datagram protocol) and the other mentioned above. TCP is preferred over UDP because it is much more reliable as it sends response for every request making sure that the packets have been received. Also, it provides a security check unlike the UDP protocol which aimlessly sends data to the server without any surety if the packets have been received and if any of the packets are lost then the sender does now re-transmits it.
Now lets take a look at the internal structure of TCP protocol which is similar to the OSI model but has only 4 layers namely- Application, transport, Internet and network layer. Lets look at the functions of each of these with the very example we took in the beginning. When you click on the file to be downloaded, a request is sent to the application layer which further communicates with the layer right below it and sends the data. The transport layer acts as a fragmentor which divides the packets into smaller fragments. These fragments are then sent to the Internet layer which transmits the packets to their destination with the help of IP addresses. Different paths are provided by the network layer which gives data packet the flexibility to take any of the feasible route and reach to the destination.
And that is exactly how your request is sent to the server. Never thought there was such a vast world behind a click right?