> I want to implement a 2 ms delay between each command on a very 
> high connection speed.

You can implement a blocking 2ms delay using QueryPerformanceCounter
which returns a 64-bit counter, and QueryPerformanceFrequency which gives
you ticks per second for the counter.  

But another process may preempt your thread so the delay could be longer.
There may be multi-media APIs with better accuracy. 

Angus

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

Reply via email to