> you are ritght because working with float is more CPU. But GetTickCount
> roll over every 49 day... So without extra code the timeout can fail if
> it is (by Murphy's law) just on the particular moment..

One can still use gettickcount then. One only has to combine it with your
technique to keep track of the roll over. (to get the most significant bits
so to say) So set a timer every 49 days (or the maximal resolution of the
timer if <49days )instead of each and every second



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to