Home | History | Annotate | Download | only in netcat

Lines Matching refs:res0

592 	struct addrinfo *res, *res0;
598 res0 = res;
600 if ((s = socket(res0->ai_family, res0->ai_socktype,
601 res0->ai_protocol)) < 0)
621 ahints.ai_family = res0->ai_family;
636 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0)
644 } while ((res0 = res0->ai_next) != NULL);
696 struct addrinfo *res, *res0;
713 res0 = res;
715 if ((s = socket(res0->ai_family, res0->ai_socktype,
716 res0->ai_protocol)) < 0)
737 if (bind(s, (struct sockaddr *)res0->ai_addr,
738 res0->ai_addrlen) == 0)
743 } while ((res0 = res0->ai_next) != NULL);