A timer example

1999-04-14 Thread Victor J. McCoy
I need to send a message at 10 Hz. All the timer functions I've seen (sleep(), etc.) are on a second boundary. Is there a way to do it so as to not be in an endless loop waiting for the 0.1 second time frame to finish? Victor

Newbie async I/O problem

1999-04-08 Thread Victor J. McCoy
I have read HOWTOs, and in fact, I'm using some of the code. I can read, but I can't write properly. Any idea why? I can email someone a .tar.gz file to check out. I tested both, and can read fine from typing in a terminal program. Victor