33 const struct addrinfo *hints,
struct addrinfo **res);
36 const struct addrinfo *hints,
37 struct addrinfo **res);
required uint64 port
Definition: replication_asynchronous_connection_failover.proto:33
required string type
Definition: replication_group_member_actions.proto:34
Definition: server_struct.h:39
int init_net()
Definition: task_net.cc:254
result xcom_checked_socket(int domain, int type, int protocol)
int checked_getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res)
Wrapper function which retries and checks errors from getaddrinfo.
Definition: task_net.cc:65
int checked_getaddrinfo_port(const char *nodename, xcom_port port, const struct addrinfo *hints, struct addrinfo **res)
Wrapper function to checked_getaddrinfo that accepts a numeric port.
Definition: task_net.cc:111
int deinit_net()
Definition: task_net.cc:256
void deinit_network_cache()
Definition: task_net.cc:198
struct addrinfo * xcom_caching_getaddrinfo(char const *server)
unsigned short xcom_port
Definition: xcom_common.h:46