apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <c...@stdlib.net>
Subject Re: getaddrinfo on Ubuntu
Date Wed, 06 Jun 2007 23:09:04 GMT
On Wed, Jun 06, 2007 at 10:18:41PM +0100, Joe Orton wrote:
> On Wed, Jun 06, 2007 at 10:57:00PM +0300, Lucian Adrian Grijincu wrote:
> > This is the output:
> > getaddrinfo AF_UNSPEC/SOCK_STREAM/AI_ADDRCONFIG failed
> > so, yes:     hints.ai_flags = AI_ADDRCONFIG; makes getaddrinfo fail.
> 
> Just so I can understand the precise nuances of this, can you post the 
> output of:
> 
> wget http://people.apache.org/~jorton/gai.c

This won't help this time :/ The key thing is that AI_ADDRCONFIG
makes getaddrinfo behave differently based on what addresses are
configured on your systems interfaces, not based on any other 
parameters to getaddrinfo.

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net

Mime
View raw message