על חברים תנ

לחץ כאן לכל השאלות

A server listens over UDP on port 6789 and over TCP on port 2345. Three clients connect to this server at the same time. Each one of these clients runs four apps: two use TCP to connect to the server, and two use UDP to connect to the server. What is the total amount S of sockets required on the server to make this possible? (select the answer closest to your answer)

1
done
by
מיין לפי
by Shachar Adam
Shachar Adam 0 נקודות · יותר מ-6 חודשים
מוניטין: 126
The server has one socket for UDP which is used by all the clients, one TCP server/welcome socket which is used only for accepting connections, and six TCP slave sockets, each dedicated to a connection to a single client.
by

* השאלה נוספה בתאריך: 10-04-2024