Hello I'm new here my name is Mervin,

I'm creating a 3D online game in C# (everything is going well so far don't need to discuss it ;) )

And I am building a TCP server for it in C# (Visual C#.NET)
The server needs to be able to handle 1500 simultaneous connections without crashing.

My question is: What would be the best way to do this?

I need to have access to every socket that is created (they can be put in a list) . And every socket (Client) needs to have their own instance of a class.. making 1500 threads won't work i think because windows won't like that.

what would be the most efficient way of doing this?.
I don't need a full code example, just some ideas would be highly appreciated ;) .

Thanks in advance,
Mervin :)

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.