[Qt-interest] QHostInfo resolving domain .local.

Thiago Macieira thiago at kde.org
Sun Dec 20 20:47:24 CET 2009


Em Domingo 20. Dezembro 2009, às 16.10.25, yingming(XXXX) escreveu:
> Hi all,
>     Why QHostInfo fail to resolve host like "asus.local."(end with a dot)?
> Where "asus" is my computer name. While in a windows xp command window type
> ping: "ping asus.local" or "ping asus.local." will return the same result.
>     Any idea?

Because your system's DNS resolver doesn't resolve it. Sorry, it's not a Qt 
bug. It's a Windows bug (in Ws2_32.dll).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091220/a136f097/attachment.bin 


More information about the Qt-interest-old mailing list