XXX what is the goal of af_switch()? it seems to me it is not necessary any more with getaddrinfo(3) fix for correct name-resolution ordering. comments? >shin