Searched refs:portp (Results 1 – 1 of 1) sorted by relevance
2175 char *cmd, *hostp = 0, *portp = 0, *user = 0; in tn() local2224 if (portp == 0) { in tn()2225 portp = *argv++; in tn()2294 if (!portp) { in tn()2296 portp = strdup("telnet"); in tn()2297 } else if (*portp == '-') { in tn()2298 portp++; in tn()2300 } else if (*portp == '+') { in tn()2301 portp++; in tn()2310 error = getaddrinfo(hostname, portp, &hints, &res); in tn()[all …]