Searched refs:getaddrinfo_error (Results 1 – 2 of 2) sorted by relevance
137 int getaddrinfo_error = 0; in network_connect() local138 int fd = socket_network_client_timeout(host.c_str(), port, type, timeout, &getaddrinfo_error); in network_connect()142 if (getaddrinfo_error != 0) { in network_connect()144 gai_strerror(getaddrinfo_error)); in network_connect()
138 int getaddrinfo_error = 0; in network_connect() local139 int fd = socket_network_client_timeout(host.c_str(), port, type, timeout, &getaddrinfo_error); in network_connect()143 if (getaddrinfo_error != 0) { in network_connect()145 gai_strerror(getaddrinfo_error)); in network_connect()