ares_set_local_ip4(3) Set local IPv4 address outgoing requests.

SYNOPSIS

#include <ares.h>
void ares_set_local_ip4(ares_channel channel, unsigned int local_ip)

DESCRIPTION

The ares_set_local_ip4 function sets the IP address for outbound requests. This allows users to specify outbound interfaces when used on multi-homed systems.

NOTES

This function was added in c-ares 1.7.4

AUTHOR

Ben Greear