GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Web  >  AJAX
Go To First  |  Previous Question  |  Next Question 
 AJAX  |  Question 5 of 53    Print  
What is the back ground work going on when you type www.yahoo.com in your web browser?

  
Total Answers and Comments: 2 Last Update: February 11, 2007     Asked by: Ashok 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: sandippal
 
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.

Above answer was rated as good by the following members:
sheelaForum
November 14, 2006 04:19:21   #1  
uday        

RE: what is the back ground work going on when you typ...
actually there is nothing like yahoo.co.in it is actually an ip address which is resolved by DNS(domain name server ) so when you type yahoo.co.in this is the work of DNS to identify the pertucular page and redirect you to that page
 
Is this answer useful? Yes | No
February 11, 2007 08:04:07   #2  
sandippal Member Since: February 2007   Contribution: 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.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Latest Answer : 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 ...
Read Answers (2) | Asked by : Ashok


 Sponsored Links

 
Related Articles

How EDI work with XML

How EDI work with XML EDI and XML systems have been seen as the opportunity to create a holistic approach to data information exchange that can deliver and process simple durable and effective business transactions by electronic means To achieve this methods must be employed that are not only of val
 

Microsoft AJAX Library - Introducing JSON

Introducing JSON In AJAX applications client server communication is usually packed in XML documents or in the JSON JavaScript Object Notation format Interestingly enough JSON s popularity increased together with the AJAX phenomenon although the AJAX acronym includes XML mosgoogle JSON is the format
 

Microsoft AJAX Library - Inheritance using Prototypes

Inheritance using Prototypes Once again prototyping can help us implement an OOP feature in a more elegant way than when using closures Prototype based inheritance makes use of the behavior of JavaScript prototypes When accessing a member of a function that member will be looked for in the function
 

Microsoft AJAX Library - Inheritance using Closures

Inheritance using Closures and Prototypes There are two significant techniques for implementing the OOP concept of inheritance with JavaScript code The first technique uses closures and the other technique makes use of a feature of the language named prototyping Early implementations of the Microsof
 

Microsoft AJAX Library - JavaScript Execution Context

JavaScript Execution Context In this section we ll take a peek under the hood of the JavaScript closures and the mechanisms that allow us to create classes objects and object members in JavaScript For most cases understanding these mechanisms isn t absolutely necessary for writing JavaScript code&am
 

Microsoft AJAX Library - Creating Object Members on the Fly

Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He
 

Microsoft AJAX Library - Associative Arrays

Thinking of Objects as Associative Arrays A key element in understanding JavaScript objects is understanding the notion of associative arrays which are nothing more than collections of key value pairs As a NET developer you have worked with associative arrays represented by classes such as NameValue
 

Microsoft AJAX Library - C# and JavaScript Classes

C and JavaScript Classes For the purpose of demonstrating a few more OOP related concepts we ll use another class Our new class is named Table and it has two public fields rows columns and one method getCellCount The getCellCount method should return the number of rows multiplied by the number of co
 

Microsoft AJAX Library - JavaScript Classes

JavaScript Classes Not only can JavaScript functions contain other functions but they can also be instantiated This makes JavaScript functions a good candidate for implementing the concept of a class from traditional object oriented programming This is very helpful feature indeed because JavaScript
 

Microsoft AJAX Library - Anonymous Functions

Anonymous Functions Anonymous functions can be created adhoc and used instead of a named function Although this can hinder readability when the function is more complex you can do this if you don t intend to reuse a function s code In the following example we pass such an anonymous function to Displ
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape