If I search website from chrome browser how client server knows to send data to chrome instead of other browsers in my phone? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If I search website from chrome browser how client server knows to send data to chrome instead of other browsers in my phone?

I know that http has 80 port number and If I open second tab in same chrome browser then how client server knows or my phone or computer knows that to received data is intended for specific tab of specific browser. And is port numbers are used for specifying exact network services?

9th May 2019, 12:26 PM
Bhavesh Kalkani
Bhavesh Kalkani - avatar
4 Answers
+ 1
This is done with the help of transport layer(TCP/IP model). It adds a source port number and destination port number to each of your request. for eg- if you try to reach sololearn website. It is a secure web service(https). So transport layer will add some random source port number say 6000 and the destination port will be 443. And now with the help of port number, data will be deliver to the correct source from the destination. Different tabs in your browser will have different source port number.
9th May 2019, 2:29 PM
kiRA
kiRA - avatar
+ 3
Whenever browser sends a request to server, server response codes to browser.
9th May 2019, 1:15 PM
Calviղ
Calviղ - avatar
+ 1
when you send someone an errand how did the person know your the one to be given the items, that just look like your question to me
9th May 2019, 12:39 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Thanks yes now I got answer thank you kira
12th May 2019, 12:20 PM
Bhavesh Kalkani
Bhavesh Kalkani - avatar