Open GoogleCodeExporter opened 9 years ago
Versions: libc 2.19-0ubuntu3, kernel 3.13.0-20-generic.
Original comment by gmark...@gmail.com
on 4 Apr 2014 at 1:28
Thanks, I was surprised to never see this error code in the wild even with bad
DNS servers or mDNS. Will update trunk.
Original comment by fnjo...@gmail.com
on 4 Apr 2014 at 5:20
Actually, I'm not sure it is sensible to hide such an subsystem failure within
the API. It would be more apparent if the application calling
pgm_getaddrinfo() captures the error domain PGM_ERROR_DOMAIN_IF and code
PGM_ERROR_AGAIN and determines how it should proceed.
One possible enhancement would be an option equivalent to AI_NUMERICHOST so
that network services are not used however one has no control over system name
services whether they be local or remote based. So the flag would have to
disable pgm_getnetbyname() and getaddrinfo(~AI_NUMERICHOST).
Alternatively of course, just use a /etc/networks name or IP address of the
interface.
Original comment by fnjo...@gmail.com
on 4 Apr 2014 at 5:44
Original issue reported on code.google.com by
gmark...@gmail.com
on 4 Apr 2014 at 1:16