1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 15:19:37 +00:00

local-bind: Support binding to local interface/IPs

Add 3 new functions to set the local binding for the out-going
socket connection, and add ares_set_servers_csv() to set a
list of servers at once as a comma-separated string.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2010-07-18 23:58:39 +02:00
committed by Daniel Stenberg
parent 45a09b7efb
commit e3b04e5a47
10 changed files with 368 additions and 7 deletions

View File

@ -1,6 +1,5 @@
.\"
.\" Copyright 1998 by the Massachusetts Institute of Technology.
.\" Copyright (C) 2008-2010 by Daniel Stenberg
.\" Copyright 2010 by Ben Greear <greearb@candelatech.com>
.\"
.\" Permission to use, copy, modify, and distribute this
.\" software and its documentation for any purpose and without
@ -67,6 +66,7 @@ was invalid.
.B ARES_ENOTINITIALIZED
c-ares library initialization not yet performed.
.SH SEE ALSO
.BR ares_set_servers_csv (3),
.BR ares_get_servers (3),
.BR ares_init_options (3),
.BR ares_dup(3)