Searched refs:port_str (Results 1 – 2 of 2) sorted by relevance
/aosp14/system/core/libcutils/ |
H A D | socket_network_client_windows.cpp | 44 char port_str[16]; in socket_network_client() local 45 snprintf(port_str, sizeof(port_str), "%d", port); in socket_network_client() 46 if (getaddrinfo(host, port_str, &hints, &address) != 0 || address == NULL) { in socket_network_client()
|
H A D | socket_network_client_unix.cpp | 53 char port_str[16]; in socket_network_client_timeout() local 54 snprintf(port_str, sizeof(port_str), "%d", port); in socket_network_client_timeout() 57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
|