I have been doing Windows programming in .Net since last two years.
Now I am shifting to web programming so I just stuck in understanding the
fundamentals of web programming, after googling I came to StackOverflow to learn
from all of you great guys.
My confusion is about how messages flow between systems in distributed enviornment ?
I mean suppose I want to send a message "Hello" to a system connected to LAN or Internet,
then what will be the steps taken to send the message.
Second thing is suppose my system is "A" and I wana send message to system "B" which is connected via a wire, so how the message flows on wire and how system "B" reads it from the wire ?
Please someone explain me in a layman terms.
Thank you all in advance.
Here’s the short layman explanation of what is happening. you can search for any highlighted term to read more about the particular layer in the whole stack.
HTTPpacket containing the GET request details for the page it needs.TCP/IPprotocol to the target machine.domain name(ie, http://google.com), the network stack makes a request to itsDNSserver to resolve that domain name to anIP address(ie, 74.125.155.99).The DNS server might need to contact other DNS servers, if it doesn’t have that info cached locally.
Ethernet framepacket.MAC addressin theARP table. If it succeeds, then it will send the Ethernet frame packet over the network wire directly addressed to the MAC address of that machine.