YOSHIFUJI Hideaki / [EMAIL PROTECTED](B wrote: > 1) if AI_PASSIVE is set to the ai_flags member in the 3rd argument, > getaddrinfo() will try to "look-up" unspecific addresses; > :: for ipv6, 0.0.0.0 for ipv4. Ok, I meant this case. Set AI_PASSIVE and bind to all "unspecified" addresses it returns. > If the AI_ADDRCONFIG flag is specified then a look-up for ipv6 address > should occur only if the node has at least one IPv6 source address > configured and a look-up for ipv4 should occur only if the node has > at least one IPv4 source address configured. > Note: loopback addresses are not considered as configured sources addresses. > > Last paragraph is rfc2553bis thing, and USAGI glibc 2.1 and 2.2 > have this functionality. Would be nice to have it in standard glibc 2.2. Any plans of merging soon ?
best greets, Rene

