Mouse <[email protected]> writes:
> Perhaps. But I do urge that any code written to use it take care to
> degrade gracefully if AI_ADDRCONFIG does not exist at build time.
That's trivial, because all AI_ADDRCONFIG does is *potentially* filter
out responses which are *positively* unusable, so in the worst case,
it's a no-op, even when supported. All you need is:
#ifdef AI_ADDRCONFIG
hints.ai_flags |= AI_ADDRCONFIG
#fi
although you may want to use autoconf magic in case your system defines
AI_ADDRCONFIG as an enum instead of a macro.
DES
--
Dag-Erling Smørgrav - [email protected]
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool