#include <simgear/debug/logstream.hxx>
#include <simgear/misc/strutils.hxx>
+#include <simgear/timing/timestamp.hxx>
using std::cout;
using std::cerr;
DNS::Request_ptr r(naptrRequest);
cl.makeRequest(r);
while( !r->isComplete() && !r->isTimeout()) {
- usleep(200000);
+ SGTimeStamp::sleepForMSec(200);
cl.update(0);
}
DNS::Request_ptr r(naptrRequest);
cl.makeRequest(r);
while( !r->isComplete() && !r->isTimeout()) {
- usleep(200000);
+ SGTimeStamp::sleepForMSec(200);
cl.update(0);
}