Searched refs:socktype (Results 1 – 1 of 1) sorted by relevance
62 int socktype = SOCK_STREAM; in dns_resolve_cb() local96 socktype = state->hints->ai_socktype; in dns_resolve_cb()100 ai->ai_socktype = socktype; in dns_resolve_cb()101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb()363 int socktype = SOCK_STREAM; in try_resolve_literal_addr() local373 socktype = SOCK_DGRAM; in try_resolve_literal_addr()398 res->ai_socktype = socktype; in try_resolve_literal_addr()