diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-20 20:22:41 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-20 20:22:41 +0000 |
| commit | 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa (patch) | |
| tree | 1c6720eb14074cd0be263a75f1c547b83bfaa420 /src/publicServer.c | |
| parent | dbf67486087dea9c501014247a82244a44213582 (diff) | |
- uprava sietoveho protokola
- novy prikaz to prtokolu "status"
- moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient <max clients>
- drobne upravy v kode
git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/publicServer.c')
| -rw-r--r-- | src/publicServer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |