Hi guys .. Here is my scenario, I am getting data out of say an interface or a port for example say a computers interface that gets packets from our modem. Now i want a way to detect a new burst of data to be detected. In my program i am running a count down timer.once data is detected i want the timer to be stopped and check what type of data i recieved. I can create a function within the countdown timer loop but this can get very inefficient since everytime i countdown i ahve to execute the function which can cause a lot of overhead. So is there any features in c++ that can help me do it in a more efficient manner?