Add a variable in class Client : _time_of_last_msg with correct type
Add a checker of last time in epoll_loop
Init time of last msg in Client constructor
Update time of last msg in handle_client_event()
Define after what time we consider the client to be inactive
Add a variable in class Client : _time_of_last_msg with correct type Add a checker of last time in epoll_loop Init time of last msg in Client constructor Update time of last msg in handle_client_event() Define after what time we consider the client to be inactive