fixed infinite loop when a client disconnects (remove and clean disconnected clients)

This commit is contained in:
bettercallous
2024-04-09 03:09:14 +00:00
parent 3006bfa5e2
commit 454e32f590
4 changed files with 21 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ class Client {
Client(int fd, std::string addr);
~Client();
int getFd() const;
};
#endif