>> when compiling my app with Mingw it states that "usleep was not declared in this scope". Is it really not available with Mingw
> Why would it be? MinGW or not, nope, usleep() is not available on
> Windows. You can use Sleep(), which takes milliseconds, not
> microseconds, and the actual granularity offered is even less, but
> for most purposes it should be fine anyway.
thanks for the swift response. Yes, this is what I am aware of too - just needed confirmation. Nevertheless, I urgently need microsecond resolution. In that context I thought about using select() instead. If anyone has a better idea how to approach this on Windows please let me know.
Thanks in advance,
- A l e x