Question: In the scenario described, where a Web server on Host C is receiving requests from two different hosts, A and B , over persistent connections,
In the scenario described, where a Web server on Host C is receiving requests from two different hosts, A and B over persistent connections, each request will be handled by a separate socket at Host C
When a Web server uses persistent connections, it keeps the TCP connection open after sending a response, allowing it to handle multiple requests over the same connection. However, each incoming connection from a different host will be assigned a separate socket on the server side, even if the requests are being processed over the same persistent connection.
Both sockets will have the same destination port number which is the standard port number for HTTP traffic. However, the source port numbers of the incoming connections will be different, as they are assigned by the client's operating system when establishing the TCP connection. This allows the Web server to differentiate between the requests from Host A and Host B even though they are being processed over the same port on the server side.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
