…e when ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to better allow the callback to know what's happening.
…stead it now declares the private struct ares_in6_addr for all systems instead of relying on one possibly not present in the system.
…ack(), and I edited it to also get duped by ares_dup().
…forwards. Also discussed on the ml.
… in the latest releases to remain ABI compatible.
…ch simply resolves a host name from the given file, using the regular hosts syntax.
…cumented in man resolv.conf: causes round robin selection of nameservers from among those listed. This has the effect of spreading the query load among all listed servers, rather than having all clients try the first listed server first every time. You can enable it with ARES_OPT_ROTATE
…can be used to keep options for later re-usal when ares_init_options() is used.
specific sockets and thus avoiding select() and associated functions/macros. This function will be used by upcoming libcurl releases for this very reason. It also made me export the ares_socket_t type in the public ares.h header file, since ares_process_fd() uses that type for two of the arguments.
…makes c-ares call a callback on socket state changes. A better way than the ares_getsock() to get full control over the socket state.
…t being limited to select().
…ents. The first little steps towards IPv6 support!
…public and we can't depend on configure-defines in it. This logic is borrowed from the public curl headers.
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
This breaks the API and ABI with the existing ares library. We hereby require the upcoming c-ares 1.0 for asynch name resolves!