title: Is possible to use nanosleep in a infinite loop with select()?
body: <p>I have a <strong>C</strong> program that do recv/send operations from/to socket using a <code>for(;;)</code> loop and a <code>select()</code> to monitor the file descriptor. I need also this program to send a packet every 80msec to a packet, how can I implement this? 
  Maybe I can use a <code>fork()</code> and the child process simply write an ack in one of the file descriptor monitored by the <code>select()</code> every 80msec.
  Is there better solutions?</p>