Hi, On Thu, Jul 21, 2005 at 05:33:56PM +0200, Vladimir Kotal wrote: > > It includes patches which make it understand IPv6. >
Shouldn't you be looping through the list of addrinfo structures in res0 somewhere, trying to connect for every item? See the examples section in getaddrinfo(1). The first item, i.e. res0, might not contain a working IP address, and if that is the case, the program will fail even though there might be working addresses available. Or have I somehow horribly misunderstood something? -- Antti Nykänen aon{@,.}iki.fi