evdns_base_new

Initialize the asynchronous DNS library.

This function initializes support for non-blocking name resolution by calling evdns_resolv_conf_parse() on UNIX and evdns_config_windows_nameservers() on Windows.

@param event_base the event base to associate the dns client with @param initialize_nameservers 1 if resolve.conf processing should occur @return evdns_base object if successful, or NULL if an error occurred. @see evdns_base_free()

extern (C) nothrow
evdns_base_new

Meta