MCPcopy Create free account
hub / github.com/chrxh/alien / hosted_at

Function hosted_at

external/cpp-httplib/httplib.h:4434–4439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4432} // namespace detail
4433
4434 inline std::string hosted_at(const char* hostname) {
4435 std::vector<std::string> addrs;
4436 hosted_at(hostname, addrs);
4437 if (addrs.empty()) { return std::string(); }
4438 return addrs[0];
4439 }
4440
4441 inline void hosted_at(const char* hostname, std::vector<std::string>& addrs) {
4442 struct addrinfo hints;

Callers

nothing calls this directly

Calls 1

get_remote_ip_and_portFunction · 0.85

Tested by

no test coverage detected