Lines Matching full:hostname
37 // literal IP string or a hostname to be resolved later.
39 SocketAddress(absl::string_view hostname, int port);
56 // Determines if this is a nil address (empty hostname, any IP, null port)
65 // Changes the IP of this address to the given one, and clears the hostname
69 // Changes the IP of this address to the given one, and clears the hostname.
72 // Changes the hostname of this address to the given one.
74 void SetIP(absl::string_view hostname);
76 // Sets the IP address while retaining the hostname. Useful for bypassing
81 // Sets the IP address while retaining the hostname. Useful for bypassing
89 // Returns the hostname.
90 const std::string& hostname() const { return hostname_; } in hostname() function
111 // Returns the 'host' portion of the address (hostname or IP) in a form
112 // suitable for use in a URI. If both IP and hostname are present, hostname
123 // Returns hostname:port or [hostname]:port.
129 // Returns hostname:port string if address is resolved, otherwise returns
133 // Parses hostname:port and [hostname]:port.
145 // Hostname and/or port may be set.
158 // Determines whether the hostname has been resolved to an IP.