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: [EMAIL PROTECTED]
