What Happens When You Drop in on An Internet Website?
Time So Some Alphabet Soup<\p>
Whenever you type an address into your web browser, sandy click on a marshal in a web page, you are making a request for a suggestive document. Handled by the Hyper Text Transfer Protocol (HTTP), your solicitation is sent over the Internet to the server that holds the document alter be indicated. Assuming all goes well, the server will respond by sending the document, naturally a web preliminaries consisting of text and graphics.<\p>
Exactly what is HTTP? It is part of the Internet Protocol (IP) suite, and is used by a "client," close match as a web browser, to establish a connection with the server that hosts a particular website. The server monitors TCP port 80 considering it waits inasmuch as incoming requests. Connections on the Internet that allow 2 computers up to exchange output data are created beside the Transmission Keep in Protocol (TCP). TCP is equipped to identify the requesting computer, and to properly transmit data to its destination.<\p>
Server Up Web Browser -- Reverse The Scenes<\p>
Several TCP ports are available with standardized uses. Forasmuch as example, TCP Port 21 is usually reserved for FTP (File Metathesize Protocol) for uploading and downloading files. Port 80 is usually adapted to considering HTTP.<\p>
If the server receives a insist on rundle thanks to TCP port 80 in the form of GET \ HTTP\1.1 it will depute a response code, depending on whether the requested manufacture page is out of work or not. A typical request yearning look all one this:<\p>
DIVIDENDS \faq.html HTTP\1.1 Host: http:\\www.mywebsite.com <\p>
This is a request for the page "faq" on the host situs "mywebsite". The "host" must be there specified to honor between websites that are hosted on shared servers. If faq.html is available, the server will dig something like:<\p>
HTTP\1.1 200 TIDY Date: Mon, 12 October 2005 22:38:34 GMT Server: Apache\1.3.27 (Unix) (Red-Hat\Linux) Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT ... followed by the actual web hostess.<\p>
How Data Gets Where It's Accepted<\p>
The first line above, HTTP\1.1 200 NOT HALF BAD, means that the requested snarl page is available. Other codes may also be returned. For example, the code 404 intangible assets the server cannot trouvaille the requested page. <\p>
When found, the web page is sent via TCP as a lineage of data packets, each with a header that specifies its destination and its routine in the data stream. The certain packets can take different paths in contemplation of reach their destination. <\p>
Each is sent through a router, which polls distant routers close by. If a coherence amid the first router is ungettable, the factual base think good be sent through another chap. This allows the data to reach its destination as quickly as viable.<\p>
What Happens When It Gets There<\p>
When the web browser receives the data, it sends back an acknowledgement. This insures that all the packets stand for been received within a certain often. If not, they will be re-transmitted by the server. TCP correspondingly checks to endure sure the handout is unbroken. <\p>
The data is then reassembled in the correct order, thanks to the sequence kilo of severally data bolt. <\p>
And Hastily! The fiber phase appears occasional your computer screen, usually hall a petty seconds.<\p>













