954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

best way to create a TCP server that can hold 1500 connections?

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 :)

MervinKoops
Newbie Poster
9 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 
purpleCRAYON
Newbie Poster
2 posts since Jun 2009
Reputation Points: 10
Solved Threads: 1
 

Thanks! :)

MervinKoops
Newbie Poster
9 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You