diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-25 18:26:28 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-25 18:26:31 +0200 |
commit | 4d47a6cefe3c5ac022aa2e91033065a2354f4d19 (patch) | |
tree | ddc1f9778113d0bc1395bf321e8a685dc368d439 /v2/common.h | |
parent | f56da4808343aafd2c8b76f6691dec33c16dd80c (diff) |
Documentation & chore
Includes:
- increase the limit
- update with sources
- remove arena include in send.c
Diffstat (limited to 'v2/common.h')
-rw-r--r-- | v2/common.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/v2/common.h b/v2/common.h index 0f14329..60d8984 100644 --- a/v2/common.h +++ b/v2/common.h @@ -15,13 +15,10 @@ #define PORT 9983 // buffer size for holding data received from recv() // TODO: choose a good size -#define STREAM_BUF 256 +#define STREAM_BUF 1024 // max data received in one recv() call on serverfd // TODO: choose a good size -#define STREAM_LIMIT 512 -// max message that can be displayed with writef() -#define WRITEF_MAX 256 - +#define STREAM_LIMIT 1024 typedef uint8_t u8; typedef uint16_t u16; |