From eedc1ea625c5c4e4beb633749543e9f57fd55891 Mon Sep 17 00:00:00 2001 From: oroborus Date: Wed, 27 Aug 2008 14:05:34 +0000 Subject: - 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 --- src/base/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/base/proto.h') 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); -- cgit v1.2.3