From 4d47a6cefe3c5ac022aa2e91033065a2354f4d19 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 25 Oct 2024 18:26:28 +0200 Subject: Documentation & chore Includes: - increase the limit - update with sources - remove arena include in send.c --- v2/common.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'v2/common.h') 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; -- cgit v1.2.3