This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10567] getaddrinfo() hints==NULL (ai_flags) deviates from POSIX.1


------- Additional Comments From pfee at talk21 dot com  2009-10-09 22:08 -------
Can some details be added as to why the glibc defaults are better than the POSIX standard.

The default only applies if hints==NULL.  If the POSIX defaults are non-optimal, then users of
other systems (e.g. Solaris) would find it useful to know that different settings are preferred. 
On Solaris 10, setting hints to NULL results in POSIX defined behaviour.

Are the reasons behind glibc's defaults unique to glibc or are they related to network effects
which would apply to any OS or C resolver library.  If the settings are valid everywhere then
getaddrinfo() users would benefit from using them on non-glibc platforms.

Thanks.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10567

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]