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

@@ -5,3 +5,5 @@ Client::Client() {}
Client::Client(int fd, std::string addr) : _fd(fd), _addr(addr) {}
Client::~Client() {}
int Client::getFd() const {return _fd;}