Client-Cervinia application. A single server and hundreds of clients

0 like 0 dislike
5 views
To implement the connection, which involves only one server and one client, pretty easy. But what to do if customers are hundreds (if not thousands)? Moreover, the clients can be behind NAT and proxy. Can someone explain?
by | 5 views

5 Answers

0 like 0 dislike
It is not clear what to explain...
As an example, examine the sources of any such application, for example apache or nginx, the benefit, the source code of a huge number of similar apps opened.
by
0 like 0 dislike
There's a great book: Stevens — unix development of network applications. Read on select(), fork().
by
0 like 0 dislike
There is such magic word — socket.
by
0 like 0 dislike
Well, each client has his own connection find it and send data to the client, what is strange you have issues, maybe you should read the materiel?
In Windows I think the sockets are formed for the connection with the client.
by
0 like 0 dislike
I found what I was looking for www.tezanov.ru/forum/viewtopic.php?f=19&t=183
by
110,608 questions
257,186 answers
0 comments
28,888 users