bool RemoteService::resolve()
{
	K_D;
	resolveAsync();
	while (d->isRunning() && !d->m_resolved) d->process();
	d->stop();
	return d->m_resolved;
}
Beispiel #2
0
bool RemoteService::resolve()
{
	resolveAsync();
	while (d->m_running && !d->m_resolved) Responder::self().process();
#ifdef HAVE_DNSSD
	d->stop();
#endif
	return d->m_resolved;
}