The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
16 views
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 passed through different sockets, do both of the sockets have port 80? Discuss and explain.
in Computer Networks by Boss (10.3k points) | 16 views

1 Answer

0 votes
Yes,both of them will happen through C only, but only after the other.There is a synchronization mechanism in sockets using listen which contains a parameter namely "backlogs" which maintain a wait queue for all the active connections.
ago by (309 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,095 questions
55,334 answers
190,852 comments
86,258 users