On quarta-feira, 24 de outubro de 2012 05.38.03, Joseph W Joshua wrote:
> Hello all,
> 
> I am writing an application for our company, and at one point I need to get
> the hostname of a computer on the network given the IP address. If I use
> QHostInfo::lookupHost() connected to a lookup slot, and provided with the
> IP address, it returns the same IP address.

in the QHostInfo that you receive in your slot, the hostName() returns the IP 
address in string form?

For every hostname you've tried? Try 8.8.8.8 for example.
-- 
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.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to