Regarding TCP server.
-
Hi all, I have to develop a TCP server using MFC. Is there any limitation on the number of clients to be connected to the server.
Regards, Sunil Kumar
sunilkumar.d wrote:
Is there any limitation on the number of clients to be connected to the server.
Yes (unsless you have the
ICPM
,I
nfiniteC
omputingP
owerM
achine... :rolleyes: ). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
sunilkumar.d wrote:
Is there any limitation on the number of clients to be connected to the server.
Yes (unsless you have the
ICPM
,I
nfiniteC
omputingP
owerM
achine... :rolleyes: ). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
You can see the number of clients online at the top left corner of this screen.:cool:
«_Superman_» I love work. It gives me something to do between weekends.
-
You, as the server designer, should know about. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
42
-
sunilkumar.d wrote:
can we know the approximate number of clients?
Not as in there is some predefined number that we can give you. Therefore if you want to understand aspects of client server computing such as this you will need to study the subject. This will require reading information on the subject and not so much looking for magic answers in internet forums.
-
Hi all, I have to develop a TCP server using MFC. Is there any limitation on the number of clients to be connected to the server.
Regards, Sunil Kumar
To expand on the answer led-mike gave you, it really depends on the nature of the server. I suspect there's a hard limit on the number of simultaneous connections, but it's going to be REALLY big. The actual limit will depend on what your software does. Does it do some big heavy duty maths and return an answer? Not many clients. Does it just echo any packet sent to it? Lots of clients. I'm sure your application is somewhere in between, but we won't be able to give a sensible answer without know lots about your application, and skill. In the meantime, do a search on google for codeproject and io completion ports. You should see many articles that will give you more help than I ever can. Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...