Am Dienstag, den 31.05.2005, 10:09 +0000 schrieb Ralf Lübben:

> If a client connects the nas port number is locked , if a client disconnect 
> the port number is freed. 
> A new client will always get the least number of the array.
> 
> Would this behaviour ok?

Yes. That would be OK.

> How many nas port numbers will I need?
> I think 1000 will be enough or can there be more than 1000 clients at 
> the same time?

Hmm. Must there be a limit? I am asking since I had some troubles with a
PPTP VPN pushing this to more than 100 or 256 users. So software
hardlimits aren't really a good choice. If this isn't to much work I
would suggest to put in a dynamic variable. Since you are using C++ you
might just use a STL type? I don't know whether STLs are portable across
platforms...




Reply via email to