Home | History | Annotate | Download | only in telnet

Lines Matching defs:portp

2099     const char *portp = 0;
2138 if (portp == 0) {
2139 portp = *argv++;
2153 if (!portp) {
2155 portp = "telnet";
2156 } else if (portp[0] == '-') {
2159 portp++;
2168 error = getaddrinfo(hostname, portp, &hints, &res0);
2184 error = getaddrinfo(hostname, portp, &hints, &res0);
2186 fprintf(stderr, "tcp/%s: unknown service\n", portp);