Saphirac / ft_irc

MIT License
1 stars 1 forks source link

Check time of each clients' last message #14

Closed Saphirac closed 3 months ago

Saphirac commented 4 months ago

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