Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
c-ares is a C library for asynchronous DNS requests
C Shell Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
m4
vc
.gitignore
AUTHORS
CHANGES
CHANGES.0
GIT-INFO
INSTALL
Makefile.Watcom
Makefile.am
Makefile.dj
Makefile.inc
Makefile.m32
Makefile.msvc
Makefile.netware
NEWS
README
README.cares
README.msvc
RELEASE-NOTES
TODO
acinclude.m4
acountry.1
acountry.c
adig.1
adig.c
ahost.1
ahost.c
ares.h
ares__close_sockets.c
ares__get_hostent.c
ares__read_line.c
ares__timeval.c
ares_build.h.dist
ares_build.h.in
ares_cancel.3
ares_cancel.c
ares_data.c
ares_data.h
ares_destroy.3
ares_destroy.c
ares_destroy_options.3
ares_dns.h
ares_dup.3
ares_expand_name.3
ares_expand_name.c
ares_expand_string.3
ares_expand_string.c
ares_fds.3
ares_fds.c
ares_free_data.3
ares_free_hostent.3
ares_free_hostent.c
ares_free_string.3
ares_free_string.c
ares_get_servers.3
ares_getenv.c
ares_getenv.h
ares_gethostbyaddr.3
ares_gethostbyaddr.c
ares_gethostbyname.3
ares_gethostbyname.c
ares_gethostbyname_file.3
ares_getnameinfo.3
ares_getnameinfo.c
ares_getopt.c
ares_getopt.h
ares_getsock.3
ares_getsock.c
ares_init.3
ares_init.c
ares_init_options.3
ares_iphlpapi.h
ares_ipv6.h
ares_library_cleanup.3
ares_library_init.3
ares_library_init.c
ares_library_init.h
ares_llist.c
ares_llist.h
ares_mkquery.3
ares_mkquery.c
ares_nowarn.c
ares_nowarn.h
ares_options.c
ares_parse_a_reply.3
ares_parse_a_reply.c
ares_parse_aaaa_reply.3
ares_parse_aaaa_reply.c
ares_parse_mx_reply.3
ares_parse_mx_reply.c
ares_parse_naptr_reply.3
ares_parse_naptr_reply.c
ares_parse_ns_reply.3
ares_parse_ns_reply.c
ares_parse_ptr_reply.3
ares_parse_ptr_reply.c
ares_parse_soa_reply.3
ares_parse_soa_reply.c
ares_parse_srv_reply.3
ares_parse_srv_reply.c
ares_parse_txt_reply.3
ares_parse_txt_reply.c
ares_platform.c
ares_platform.h
ares_private.h
ares_process.3
ares_process.c
ares_query.3
ares_query.c
ares_rules.h
ares_save_options.3
ares_search.3
ares_search.c
ares_send.3
ares_send.c
ares_set_local_dev.3
ares_set_local_ip4.3
ares_set_local_ip6.3
ares_set_servers.3
ares_set_servers_csv.3
ares_set_socket_callback.3
ares_setup.h
ares_strcasecmp.c
ares_strcasecmp.h
ares_strdup.c
ares_strdup.h
ares_strerror.3
ares_strerror.c
ares_timeout.3
ares_timeout.c
ares_version.3
ares_version.c
ares_version.h
ares_writev.c
ares_writev.h
bitncmp.c
bitncmp.h
buildconf
buildconf.bat
cares.rc
config-dos.h
config-win32.h
configure.ac
get_ver.awk
git2changes.pl
inet_net_pton.c
inet_net_pton.h
inet_ntop.c
inet_ntop.h
install-sh
libcares.pc.in
maketgz
mkinstalldirs
nameser.h
setup_once.h
windows_port.c

README

c-ares
======

This is c-ares, an asynchronous resolver library.  It is intended for
applications which need to perform DNS queries without blocking, or need to
perform multiple DNS queries in parallel.  The primary examples of such
applications are servers which communicate with multiple clients and programs
with graphical user interfaces.

The full source code is available in the 'c-ares' release archives, and in a
git repository: http://github.com/bagder/c-ares

If you find bugs, correct flaws, have questions or have comments in general in
regard to c-ares (or by all means the original ares too), get in touch with us
on the c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares

c-ares is of course distributed under the same MIT-style license as the
original ares.

You'll find all c-ares details and news here:

        http://c-ares.haxx.se/


NOTES FOR C-ARES HACKERS

The following notes apply to c-ares version 1.7.0 and later.

* The distributed ares_build.h file is only intended to be used on systems
  which can not run the also distributed configure script.

* The distributed ares_build.h file is generated as a copy of ares_build.h.dist
  when the c-ares source code distribution archive file is originally created.

* If you check out from git on a non-configure platform, you must run the
  appropriate buildconf* script to set up ares_build.h and other local files
  before being able of compiling the library.

* On systems capable of running the configure script, the configure process
  will overwrite the distributed ares_build.h file with one that is suitable
  and specific to the library being configured and built, this new file is
  generated from the ares_build.h.in template file.

* If you intend to distribute an already compiled c-ares library you _MUST_
  also distribute along with it the generated ares_build.h which has been
  used to compile it. Otherwise the library will be of no use for the users of
  the library that you have built. It is _your_ responsibility to provide this
  file. No one at the c-ares project can know how you have built the library.

* File ares_build.h includes platform and configuration dependent info,
  and must not be modified by anyone. Configure script generates it for you.

* We cannot assume anything else but very basic compiler features being
  present. While c-ares requires an ANSI C compiler to build, some of the
  earlier ANSI compilers clearly can't deal with some preprocessor operators.

* Newlines must remain unix-style for older compilers' sake.

* Comments must be written in the old-style /* unnested C-fashion */

Something went wrong with that request. Please try again.