ai_flags in BSD/OS

Julien ÉLIE julien at trigofacile.com
Sat Jan 31 09:51:55 UTC 2009


Hi Russ,

>> In innfeed/host.c, we have:
>>    hints.ai_flags = AI_NUMERICSERV | AI_ADDRCONFIG;
>>
>> AI_NUMERICSERV seems not to be defined in netdb.h (thus set to 0 by a
>> #ifndef).  AI_ADDRCONFIG is defined.
>
> Does it work if you omit AI_ADDRCONFIG?

Yes!
I see an ESTABLISHED socket on my server with that.  And I receive an article
from innfeed after a manual IHAVE.


> If that flag is defined but doesn't work on BSD/OS, we may need to probe in
> configure for whether it actually works.

How can we do that?  Is something like what Apache did fine?
    http://mail-archives.apache.org/mod_mbox/apr-commits/200309.mbox/%3C20030929113159.95912.qmail@minotaur.apache.org%3E

-- 
Julien ÉLIE

« I don't worry about terrorism.  I was married for two years. » (Sam Kinison)




More information about the inn-workers mailing list