> If you specify AF_UNSPEC for hints.ai_family and not AI_NUMERICHOST > for ai_flags, it should work that way for BSD-variants' implementation > of getaddrinfo(). Ah yes, of course. Stupid me. Thanks.