diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-09 07:49:59 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-09 08:02:53 (GMT) |
commit | 52e22e7b9313233dd248753b25f56cd912382981 (patch) | |
tree | c6fbce025152f021701307758ea3e0dd267b63fc /doc/src | |
parent | eb7daff1548510002031140ceb7fc601d064f670 (diff) | |
download | Qt-52e22e7b9313233dd248753b25f56cd912382981.zip Qt-52e22e7b9313233dd248753b25f56cd912382981.tar.gz Qt-52e22e7b9313233dd248753b25f56cd912382981.tar.bz2 |
Fix QHostInfo IP resolution when there's no reverse for the IP.
If you try to resolve 10.3.4.6, you're probably going to get that it
doesn't exist. On some systems, getnameinfo will return the IP address
in string form (Linux, without NI_NAMEREQD). On some others, it will
fail (Mac, Windows).
So harmonise by gracefully handling the case in which getnameinfo
fails.
Possible behaviour change: we don't try the forward resolution any
more, after completing the reverse one.
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions