GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Web  >  AJAX

 Print  |  
Question:  What is the back ground work going on when you type www.yahoo.com in your web browser?



February 02, 2007 08:04:07 #2
 sandippal   Member Since: February 2007    Total Comments: 1 

RE: What is the back ground work going on when you typ...
 
1. Browser gives a DNS request to the DNS server to resolve the name www.yahoo.co.in. The DNS request may be a TCP or UDP request to the DNS server. 2. After the IP address is recieved, the browser makes a socket connection with that IP Adress and port 80 ( if explicit port not given).3. Now a Http GET request is fired by the browser on that socket connection and when the response starts coming it parses it and shows it on the screen.4. Note depending on the content of the first response , multiple sockets might be open to retrieve embedded images and objects in the same page.
     

 

Back To Question