evdns_base_set_option

Set the value of a configuration option.

The currently available configuration options are:

ndots, timeout, max-timeouts, max-inflight, attempts, randomize-case, bind-to, initial-probe-timeout, getaddrinfo-allow-skew.

In versions before Libevent 2.0.3-alpha, the option name needed to end with a colon.

@param base the evdns_base to which to apply this operation @param option the name of the configuration option to be modified @param val the value to be set @return 0 if successful, or -1 if an error occurred

extern (C) nothrow
int
evdns_base_set_option
(,
const(char)* option
,
const(char)* val
)

Meta