Lines Matching defs:hostname
109 char *hostname;
1655 * hostname.
2006 printf("Connected to %s.\n", hostname);
2103 printf("?Already connected to %s\n", hostname);
2151 hostname = hostp;
2168 error = getaddrinfo(hostname, portp, &hints, &res0);
2176 strlcpy(_hostname, hostname, sizeof(_hostname));
2184 error = getaddrinfo(hostname, portp, &hints, &res0);
2189 fprintf(stderr, "%s: %s\n", hostname, gai_strerror(error));
2195 (void)strlcpy(_hostname, hostname, sizeof(_hostname));
2197 hostname = _hostname;
2251 cmdrc(hostp, hostname);