From 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 20 Mar 2008 20:22:41 +0000 Subject: - uprava sietoveho protokola - novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/publicServer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/publicServer.c') diff --git a/src/publicServer.c b/src/publicServer.c index 0ba1fc6..2f07b3d 100644 --- a/src/publicServer.c +++ b/src/publicServer.c @@ -51,6 +51,8 @@ int initPublicServer() return -1; } + setServerMaxClients( atoi( getParamElse("--maxclients", "100") )); + return 0; } -- cgit v1.2.3