1ARES_SET_LOCAL_IP4(3) Library Functions Manual ARES_SET_LOCAL_IP4(3)
2
3
4
6 ares_set_local_ip4 - Set local IPv4 address outgoing requests.
7
9 #include <ares.h>
10
11 void ares_set_local_ip4(ares_channel channel, unsigned int local_ip)
12
14 The ares_set_local_ip4 function sets the IP address for outbound
15 requests. The parameter local_ip is specified in host byte order.
16 This allows users to specify outbound interfaces when used on multi-
17 homed systems.
18
20 ares_set_local_ip6(3)
21
23 This function was added in c-ares 1.7.4
24
26 Ben Greear
27
28
29
30 30 June 2010 ARES_SET_LOCAL_IP4(3)