Answer the question
In order to leave comments, you need to log in
Client-server applications. One server, hundreds of clients
Implementing a connection that only has one server and one client is pretty easy. But what to do if there are hundreds (or even thousands) of customers? Moreover, clients can be behind proxy and NAT. Can someone explain?
Answer the question
In order to leave comments, you need to log in
It is not clear what exactly to explain ...
As an example, study the source code of any such application, such as apache or nginx, fortunately, the source code of a huge number of such applications is open.
There is an excellent book: Stevens - unix network application development. Read on select(), fork().
Well, each client has its own connection via tisipi into it and send data to the client, what are some strange questions you have, can you read the materiel?
In Windows, in my opinion, sockets are formed to connect with the client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question