Sockets - Roughly, how many clients can a server handle for gaming purposes
-
I would like to know, the above mentioned, for a car racing game, would the server be able to handle say a thousand cars. Can anybody suggest a means of testing such a venture? I am working in MFC at the moment. Thanks Simon.
-
I would like to know, the above mentioned, for a car racing game, would the server be able to handle say a thousand cars. Can anybody suggest a means of testing such a venture? I am working in MFC at the moment. Thanks Simon.
The limit isn't likely going to be based on the network limits. It will be based on the game engine and the way data is exchanged with the clients. See: 4.8 How many simultaneous sockets can I have open with Winsock? http://tangentsoft.net/wskfaq/advanced.html[^] Also read up on how to impliment IOCP. e.g. http://msdn.microsoft.com/en-us/magazine/cc302334.aspx[^] http://www.codeproject.com/info/search.aspx?artkw=iocp[^]
...cmk The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying. - John Carmack
-
I would like to know, the above mentioned, for a car racing game, would the server be able to handle say a thousand cars. Can anybody suggest a means of testing such a venture? I am working in MFC at the moment. Thanks Simon.
One thousand sockets doesn't sounds like impossible. I guess you will hit limitations somewhere else, for example traffic limitation of your internet provider or performance bottlenecks in your server (who has to handle and distribute events to all clients). Hope it helps.
My webchat in Europe :java: