handled reveiving data in several parts and rebuild it (data sent in parts using ctrl+D. e.g. : com^Dman^Dd)

This commit is contained in:
bettercallous
2024-04-09 20:18:56 +00:00
parent 454e32f590
commit 92ac924f0a
2 changed files with 31 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
#include <vector>
#include <poll.h>
#include "Client.hpp"
#include <cstring>
#define BUFFER_SIZE 1024
class Server {