Forum Moderators: open

Message Too Old, No Replies

How do multiple browser windows coordinate multithreading?

         

carpediem02140

7:26 pm on Jun 17, 2005 (gmt 0)

10+ Year Member



Hi,

If I open multiple browser windows and an HTTP response comes back, how does it know which browser it belongs to?

Thanks!

--Won

(This is somewhat related to my earlier question, but a much more general topic, so I hope it's ok to post a new topic).

Sathallrin

7:37 pm on Jun 17, 2005 (gmt 0)

10+ Year Member



When the browser goes to get each file it needs (html page, image, js file, etc...) It creates a connection to the web server to recieve that file. So when it is requesting more then one page at a time, it opens more then one connection.

carpediem02140

8:23 pm on Jun 17, 2005 (gmt 0)

10+ Year Member



Sathallrin,

Thanks, but I guess I need more details.

When an HTTP response comes into my computer, how is it routed to the correct browser window? Does each browser window operate on a different port number? Or is it done through sockets?

Thanks!

--Won