On/Dnia Sun, Mar 04, 2001 at 03:45:27PM -0700, Jason Gunthorpe wrote/napisał(a) > The trick is that if you request a passive socket from getaddrinfo, it > should return a list of sockets that should *all* be bound. Why you think that it *should*? As I said there is no standard about this. Also why it should do this only when AI_PASSIVE is passed?
IMO only AI_ADDRCONFIG flag is better resolution (AI_ADDRCONFIG|AI_PASSIVE). We get more flexible getaddrinfo(). > On a USAGI system (bsd et al) AI_PASSIVE for a wild card address will > return v4 and v6 wildcards which must both be bound. I know that. Force ipv6 standarization groups to clarify ipv6 standards. Unfortunately now we have mess with this ;( > Jason -- Arkadiusz Miśkiewicz, AM2-6BONE [ PLD GNU/Linux IPv6 ] http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/ [ enabled ]

