On quinta-feira, 9 de maio de 2013 22.43.06, Justin Karneges wrote:
> > Good. Then you can use QHostInfo, since it will use only 5 threads.
> 
> I should have been more clear. I may not want 100 threads, but I also 
> don't want queries being blocked by others.

Our experience is that DNS servers on home routers are quite poor. Flood them 
with queries and they will crash or send corrupted data or drop packets. There 
was a famous case of the German Fritzbox in KDE. 

That's why we do no more than 5 queries at a time. You may want to consider 
the same.

Also, please note that hostname resolution is more than DNS. I really urge you 
to use *only* the services provided by the OS, nothing else.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to