CrazyEngineers
  • abhimanipal
    abhimanipal

    MemberJan 13, 2007

    internet

    can some one tell me tht when one ,makes a connection to the web through a dial up service wht is the sequence of steps tht the computer takes ???with steps i refer to opening of ports and all !!!!i hope my question is clear to everyone !!!!!!!!
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • pad

    MemberJan 17, 2007

    let us see in two parts.

    1. Networking part.

    2. Application part

    1. Networking part
    First a dialup connection is estabilished from your host to the ISP. (there will be a RAS server accepting client connections). Each connection is asigned on IP address, one DNS and one gateway. here a point to point (ppp) connection is formed. This connection is usualy on SLIP.

    2. Application part
    let us say #-Link-Snipped-# is typed in Firefox.
    Firefox opens a socket passing hostname /<a href="https://www.crazyengineers.com">CrazyEngineers</a>/ and port no 80 (this is default for http). again lower layer resolves this host name with DNS (localy cached info or from a fresh query) and opens the connection with the destination with port 80 and IP returned by DNS query.
    OS sends all the packets to the default gateway (given by ISP in ppp connection phase). A three way handshake takes place and connection is complete(on TCP layer). now application data is passed i.e. complete URL which gets passed to the web-server (or application server) and server responds with the answer for /GET/ request.
    this result is fed to FF and u see your darling forum

    YOU AND <a href="https://www.crazyengineers.com">CrazyEngineers</a> LIVE HAPPILY EVER AFTER 😉
    Are you sure? This action cannot be undone.
    Cancel
  • aashima

    MemberJan 17, 2007

    Too good information Pad. Really it was great to know. I hope the query is clear.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register