fixing last bugs

This commit is contained in:
Bettercallous
2024-05-01 12:02:12 +01:00
parent 5c8c145c5b
commit 4a50dced99
2 changed files with 53 additions and 47 deletions

View File

@@ -75,9 +75,11 @@ class Server {
void handleClientConnection();
void handleClientData(int fd);
void clientCleanup(int fd);
void cleanChannel(int fd);
void closeFds();
Client& getClientByFd(int fd);
};
int randomInRange(int min, int max);