If you are programming in C, then you can use the interval timer with the functions setitimer() and getitimer(). This is a standard function in Linux. Not sure about Windoze.
rubberman
Posting Virtuoso
1,564 posts since Mar 2010
Reputation Points: 277
Solved Threads: 179