Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Suppose that a Web server runs in Host C on port 80. Suppose this Web server use

ID: 3528577 • Letter: S

Question

Suppose that a Web server runs in Host C on port 80. Suppose this Web server uses persistent connections, and is currently receiving requests from two different Hosts, A and B. Are all of the requests being sent through the same socket at Host C? If they are being passing through different sockets, do both of the sockets have port 80? Discuss and explain.

Explanation / Answer

Will both of these segments be directed to the same socket at host C? ----> YES If so, how will the process at host C know that these segments originated from two different hosts? ---->Use IP addresses Suppose that a Web server runs in host C on port 80. This Web server uses persistent connections, and is currently receiving requests from two different hosts: A and B. ==> Are all of the requests being sent through the same socket at host C? ---------ANS----> No, each persistent connection has a separate socket ===>If they are being passed through different sockets, do both of the sockets have port 80? -------ANS---> Yes, but each socket has different source IP address This might help you.... Thank you :) please rate

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote