Lines Matching defs:AddrInfo
83 class AddrInfo {
85 AddrInfo() : ai_(nullptr), error_(0) {}
87 AddrInfo(const char* node, const char* service, const addrinfo& hints) : ai_(nullptr) {
91 AddrInfo(const char* node, const char* service) : ai_(nullptr) {
95 ~AddrInfo() { clear(); }
97 int init(const char* node, const char* service, const addrinfo& hints) {
117 const addrinfo& operator*() const { return *ai_; }
118 const addrinfo* get() const { return ai_; }
119 const addrinfo* operator&() const { return ai_; }
123 addrinfo* ai_;
185 std::string ToString(const addrinfo* ai) const {
240 addrinfo* result = nullptr;
369 addrinfo* result = nullptr;
446 addrinfo* result = nullptr;
458 addrinfo hints;
494 addrinfo* result = nullptr;
521 addrinfo hints;
578 addrinfo hints;
581 addrinfo* result = nullptr;
631 addrinfo* result = nullptr;
646 addrinfo hints;