How many sockets do Google open for every request it receives?

前端 未结 2 1815
栀梦
栀梦 2021-01-29 22:58

The following is my recent interview experience with a reputed network software company. I was asked questions about interconnecting TCP level and web requests and that confused

2条回答
  •  遥遥无期
    2021-01-29 23:12

    For point #6, here is how I understand it: if both ends of an end to end connection were the same as that of another socket, there would indeed be no way to distinguish both socket, but if a single end is not the same as that of the other socket, then it's easy to distinguish both. So there is not need to turn destination port 80 (the default) forth and back, since the source ports differ.

提交回复
热议问题