Searched refs:ahints (Results 1 - 1 of 1) sorted by relevance

/external/netcat/
H A Dnetcat.c614 struct addrinfo ahints, *ares; local
620 memset(&ahints, 0, sizeof(struct addrinfo));
621 ahints.ai_family = res0->ai_family;
622 ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
623 ahints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
624 ahints.ai_flags = AI_PASSIVE;
625 if ((error = getaddrinfo(sflag, pflag, &ahints, &ares)))

Completed in 52 milliseconds