Lines Matching defs:host
92 char *host;
95 /* This is the concatenation of host and port with ":" in
104 const char *host;
402 * Connects to the host |host| and port |port|. This function returns
405 static int connect_to(const char *host, uint16_t port) {
415 rv = getaddrinfo(host, service, &hints, &res);
517 req->host = strcopy(uri->host, uri->hostlen);
525 free(req->host);
547 fd = connect_to(req.host, req.port);
637 res->host = res->hostport = &uri[offset];
642 ++res->host;
693 res->hostportlen = (size_t)(uri + offset + ipv6addr - res->host);