email@example.com writes: > >Does this work as expected? > > for me yes. Um. What version of getaddrinfo.c are you referring? I guess the head revision as of today is 1.42, and ... > 2. when host == NULL and ai_family is not supported by the kernel, > EAI_FAMILY will be returned. ... it actually returns EAI_NONAME in this case. enami.