diff --git a/src/cli.c b/src/cli.c index 788a7f1..0eebee1 100644 --- a/src/cli.c +++ b/src/cli.c @@ -27,7 +27,7 @@ #include #define SEND_BUFFER_SIZE 80 -#define RECEIVE_BUFFER_SIZE 80 +#define RECEIVE_BUFFER_SIZE 80 * 24 #define SERVER_IP_ADDR "127.0.0.1" #define SERVER_PORT 9000 diff --git a/src/server.c b/src/server.c index a10d716..53df171 100644 --- a/src/server.c +++ b/src/server.c @@ -39,7 +39,7 @@ void ServerInit(Server_t *server) pthread_create(server->id, NULL, serverMain, server); } -#define SEND_BUFFER_SIZE 80 +#define SEND_BUFFER_SIZE 80 * 24 #define RECEIVE_BUFFER_SIZE 80 static void serverCommunicationInstance(Server_t *args, int sockfd) {