implemented client data processing

This commit is contained in:
bettercallous
2024-04-09 02:00:23 +00:00
parent 4c1b396154
commit 3006bfa5e2
2 changed files with 22 additions and 3 deletions

View File

@@ -9,6 +9,7 @@
#include <vector>
#include <poll.h>
#include "Client.hpp"
#define BUFFER_SIZE 1024
class Server {
private:
@@ -31,6 +32,7 @@ class Server {
void bindServerSocket();
void addPollfd(int fd, short events, short revents);
void handleClientConnection();
void handleClientData(int fd);
};
#endif