family_supported
static bool family_supported(int family);
if (family_supported(AF_INET)) {
if (family_supported(AF_INET6)) {