- Joined
- Jan 7, 2005
- Messages
- 18
- Reaction score
- 0
Re: [Release] C# ConnectServer Source
Another advice:
Working with a fixed count of connection slots is not resource wise.
if you are going to work that way you must at least let the server manager to chose how many connections allow as a parameter so your line:
become:
I will recommend the use of thread pools instead of fixed count
Another advice:
Working with a fixed count of connection slots is not resource wise.
if you are going to work that way you must at least let the server manager to chose how many connections allow as a parameter so your line:
Code:
private DtClient[] Clients = new DtClient[100];
Code:
private DtClient[] Clients = new DtClient[globalVariableMaxConnections];

