diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-27 14:05:34 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-27 14:05:34 +0000 |
| commit | eedc1ea625c5c4e4beb633749543e9f57fd55891 (patch) | |
| tree | 4bd24b0bc28229753805da887fc56c9b59a89d9b /src/base/proto.h | |
| parent | c25657fc653e07e9186564613a4c3c5f91419013 (diff) | |
- server dokaze odpovedat na "status" "list" "echo" aj ked je na server prihlasenych maximlny pocet clientov.
- client vypistuje chybove hlasky na chyby "server ping timeout" a "limit max client"
git-svn-id: http://opensvn.csie.org/tuxanci_ng@254 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/proto.h')
| -rw-r--r-- | src/base/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/proto.h b/src/base/proto.h index 9e2b666..614faa9 100644 --- a/src/base/proto.h +++ b/src/base/proto.h @@ -33,6 +33,7 @@ #define PROTO_ERROR_CODE_BAD_NAME 2 #define PROTO_ERROR_CODE_BAD_COMMAND 3 #define PROTO_ERROR_CODE_TIMEOUT 4 +#define PROTO_ERROR_LIMIT_MAX_CLIENT 5 extern void proto_send_error_server(int type, client_t *client, int errorcode); extern void proto_recv_error_client(char *msg); |