#include "quiche/quic/tools/quic_name_lookup.h"
#include <cstring>
#include <memory>
#include <string>
#include "absl/strings/str_cat.h"
#include "quiche/quic/core/quic_server_id.h"
#include "quiche/quic/platform/api/quic_logging.h"
#include "quiche/quic/platform/api/quic_socket_address.h"
#if defined(_WIN32)
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#endif
namespace quic::tools {
QuicSocketAddress LookupAddress(int address_family_for_lookup, std::string host,
std::string port) { … }
QuicSocketAddress LookupAddress(int address_family_for_lookup,
const QuicServerId& server_id) { … }
}