user9770497
user9770497

Reputation: 1

How does chrome identifies where to send which data when multiple tabs are opened?

I open two youtube tabs inside a single chrome window and in one tab i am listening to a song and on another an educational video.

How does chromes knows where to send the specific data (for song and video)as both tabs are having same ip address & port number?

Upvotes: 0

Views: 296

Answers (1)

D.B.K
D.B.K

Reputation: 429

You're right about (IP+port) needed to reach a particular process on your host. But that process might delegate the task to either another worker process or a thread(depending on browser implementation), and keeps a mapping of the threadID and the HTTP connection

However this statement is wrong

both tabs are having same ip address & port number

each tab might have its own process and will have a pid.

Upvotes: 1

Related Questions