When you recieve the data is when you get the current time (GetTickCount API if you wish). This is also when you enable your timer or other non resource using timer (SetWaitableTimer). You would also store the information into whatever method you have decided upon.
Then when the timer goes off, you check the time to see if 1 second has pass since the last time you recieve information. If so, then turn off the timer and do your thing. If not, wait for the timer to go off again.
Good Luck




Reply With Quote