diff options
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h new file mode 100644 index 0000000..7b5eb07 --- /dev/null +++ b/include/protocol.h @@ -0,0 +1,14 @@ +#ifndef PROTOCOL_H +#define PROTOCOL_H + +#define MAX_OP_LEN 10 +#define MAX_ARG_LEN 50 +#define MAX_ARGS 5 +#define MAX_BUFSIZE 4096 +#define DEFAULT_PORT 11111 +#define MAX_CONNECTIONS 32768 +#define DEFAULT_TIMEOUT 6000 +#define USERNAME_SIZE 30 +#define KEYLEN 512 + +#endif |