title: How do I implement epoll timeout?
body: <p>I am working on a network programming using epoll. It seems like working fine. I would like to add a timeout function so if a client doesn't sent anything for a long period time then it will just disconnect the client. </p>
  
  <p>How do I do this? I know that I can set the timeout in epoll_wait but this is not for the individual socket...</p>
  
  <p>Thanks in advance...</p>