2 .\" Copyright 2010 by Ben Greear <greearb@candelatech.com>
4 .\" Permission to use, copy, modify, and distribute this
5 .\" software and its documentation for any purpose and without
6 .\" fee is hereby granted, provided that the above copyright
7 .\" notice appear in all copies and that both that copyright
8 .\" notice and this permission notice appear in supporting
9 .\" documentation, and that the name of M.I.T. not be used in
10 .\" advertising or publicity pertaining to distribution of the
11 .\" software without specific, written prior permission.
12 .\" M.I.T. makes no representations about the suitability of
13 .\" this software for any purpose. It is provided "as is"
14 .\" without express or implied warranty.
16 .TH ARES_SET_LOCAL_IP4 3 "30 June 2010"
18 ares_set_local_ip4 \- Set local IPv4 address outgoing requests.
23 .B void ares_set_local_ip4(ares_channel \fIchannel\fP, unsigned int \fIlocal_ip\fP)
26 The \fBares_set_local_ip4\fP function sets the IP address for outbound
27 requests. This allows users to specify outbound interfaces when used
28 on multi-homed systems.
30 .BR ares_set_local_ip6 (3)
32 This function was added in c-ares 1.7.2