how does web browser makes connection with internet?

Manish Goyal

Manish Goyal

@manish-r2Hoep Oct 22, 2024
Can anyone give some information or suitable links to explain how web browser
makes connection with intenet?
For more clarification of what i am trying to say is
Say i am client and my friend is a server...
I want to send him a object that will contain some information .... if i want to use internet as my medium for transfer of information to my friend?

Please give me any point?I really need this

Thanks in advance

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Prasad Ajinkya

    Prasad Ajinkya

    @prasad-aSUfhP Jan 11, 2010

    Goyal,
    First you need to understand that the system you are talking about is a series of abstractions layered on top of each other.

    So the browser needs a stream and an associated MIME type (whether the data it is receiving is HTML, plain text, audio, video, image, etc).

    This stream is sent from the server to the client in the form of packets. The nature of sending these packets could be different from different environments. If it is open internet we are talking about then most likely it is TCP/IP or FTP.

    The packets are essentially electric signals transmitted through some media (fibre optics, copper wire, etc).

    Hope this pretty much addresses your doubt.
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jan 12, 2010

    Thanks sir
    but i want to just use internet as communication media between two programs so that they can communicate with each other and transfer data
  • durga ch

    durga ch

    @durga-TpX3gO Jan 12, 2010

    do you intend to say that you need to interface two systems using internet and then transfer information? In that case as well, the ftp/sftp will be needed.
    The destination addresses being the IP address of the other system to whom you intend to send down messages.
  • MaRo

    MaRo

    @maro-Ce3knx Jan 12, 2010

    <a href="https://en.wikipedia.org/wiki/Socket_programming" target="_blank" rel="nofollow noopener noreferrer">Socket Programming</a>.

    There're many tutorials on search, just choose your favorite language & feel free to ask for help! 😀
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jan 12, 2010

    MaRo
    <a href="https://en.wikipedia.org/wiki/Socket_programming" target="_blank" rel="nofollow noopener noreferrer">Socket Programming</a>.

    There're many tutorials on search, just choose your favorite language & feel free to ask for help! 😀
    Thank you sir...ie what i want?
    Thank you guys for your suggestion...I think what i asked was confusing..actually i just treat web browser and server as a program and want to know how communication takes place between them via internet?and i think socket programming will provide me what i want?
  • Prasad Ajinkya

    Prasad Ajinkya

    @prasad-aSUfhP Jan 12, 2010

    Goyal,
    Socket programming it is.
    +1 with MaRo
  • komputergeek

    komputergeek

    @komputergeek-Yf5hJ4 Jan 15, 2010

    goyal420
    Thank you sir...ie what i want?
    Thank you guys for your suggestion...I think what i asked was confusing..actually i just treat web browser and server as a program and want to know how communication takes place between them via internet?and i think socket programming will provide me what i want?
    yes u are right.i have been working on writing a new server and as per my knowledge,,web browser creates a TCP connection using a socket.