Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

c-ares is a C library for asynchronous DNS requests

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 m4
Octocat-spinner-32 vc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 CHANGES
Octocat-spinner-32 GIT-INFO
Octocat-spinner-32 Makefile.am
Octocat-spinner-32 Makefile.dj
Octocat-spinner-32 Makefile.inc
Octocat-spinner-32 Makefile.m32
Octocat-spinner-32 Makefile.msvc
Octocat-spinner-32 Makefile.netware
Octocat-spinner-32 NEWS - Fixed a few variable return types for some system calls. Made confi… July 22, 2004
Octocat-spinner-32 README
Octocat-spinner-32 README.cares made README the primary readme file March 23, 2010
Octocat-spinner-32 README.msvc
Octocat-spinner-32 RELEASE-NOTES
Octocat-spinner-32 TODO ares_reinit() February 17, 2010
Octocat-spinner-32 acinclude.m4
Octocat-spinner-32 acountry.c
Octocat-spinner-32 adig.c
Octocat-spinner-32 ahost.c
Octocat-spinner-32 ares.h
Octocat-spinner-32 ares__close_sockets.c
Octocat-spinner-32 ares__get_hostent.c
Octocat-spinner-32 ares__read_line.c
Octocat-spinner-32 ares__timeval.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_build.h.dist
Octocat-spinner-32 ares_build.h.in Revert "Do not use sized constants in public headers" June 15, 2011
Octocat-spinner-32 ares_cancel.3
Octocat-spinner-32 ares_cancel.c
Octocat-spinner-32 ares_data.c
Octocat-spinner-32 ares_data.h
Octocat-spinner-32 ares_destroy.3
Octocat-spinner-32 ares_destroy.c
Octocat-spinner-32 ares_destroy_options.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_dns.h
Octocat-spinner-32 ares_dup.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_expand_name.3
Octocat-spinner-32 ares_expand_name.c
Octocat-spinner-32 ares_expand_string.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_expand_string.c
Octocat-spinner-32 ares_fds.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_fds.c
Octocat-spinner-32 ares_free_data.3
Octocat-spinner-32 ares_free_hostent.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_free_hostent.c
Octocat-spinner-32 ares_free_string.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_free_string.c
Octocat-spinner-32 ares_get_servers.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_gethostbyaddr.3
Octocat-spinner-32 ares_gethostbyaddr.c
Octocat-spinner-32 ares_gethostbyname.3
Octocat-spinner-32 ares_gethostbyname.c
Octocat-spinner-32 ares_gethostbyname_file.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_getnameinfo.3
Octocat-spinner-32 ares_getnameinfo.c
Octocat-spinner-32 ares_getopt.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_getopt.h Fix macro redefinition. November 22, 2009
Octocat-spinner-32 ares_getsock.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_getsock.c
Octocat-spinner-32 ares_init.3 ares_init: Last, not first instance of domain or search should win June 02, 2010
Octocat-spinner-32 ares_init.c
Octocat-spinner-32 ares_init_options.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_ipv6.h
Octocat-spinner-32 ares_library_cleanup.3
Octocat-spinner-32 ares_library_init.3
Octocat-spinner-32 ares_library_init.c
Octocat-spinner-32 ares_library_init.h
Octocat-spinner-32 ares_llist.c
Octocat-spinner-32 ares_llist.h
Octocat-spinner-32 ares_mkquery.3
Octocat-spinner-32 ares_mkquery.c
Octocat-spinner-32 ares_nowarn.c
Octocat-spinner-32 ares_nowarn.h
Octocat-spinner-32 ares_options.c
Octocat-spinner-32 ares_parse_a_reply.3
Octocat-spinner-32 ares_parse_a_reply.c
Octocat-spinner-32 ares_parse_aaaa_reply.3
Octocat-spinner-32 ares_parse_aaaa_reply.c
Octocat-spinner-32 ares_parse_mx_reply.3 added ares_parse_mx_reply April 18, 2010
Octocat-spinner-32 ares_parse_mx_reply.c
Octocat-spinner-32 ares_parse_ns_reply.3 Vlad Dinulescu added ares_parse_ns_reply() February 19, 2007
Octocat-spinner-32 ares_parse_ns_reply.c
Octocat-spinner-32 ares_parse_ptr_reply.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_parse_ptr_reply.c
Octocat-spinner-32 ares_parse_srv_reply.3 Daniel wants upcoming release to be 1.7.0 November 23, 2009
Octocat-spinner-32 ares_parse_srv_reply.c
Octocat-spinner-32 ares_parse_txt_reply.3
Octocat-spinner-32 ares_parse_txt_reply.c
Octocat-spinner-32 ares_private.h
Octocat-spinner-32 ares_process.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_process.c
Octocat-spinner-32 ares_query.3
Octocat-spinner-32 ares_query.c
Octocat-spinner-32 ares_rules.h
Octocat-spinner-32 ares_save_options.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_search.3
Octocat-spinner-32 ares_search.c
Octocat-spinner-32 ares_send.3
Octocat-spinner-32 ares_send.c
Octocat-spinner-32 ares_set_local_dev.3
Octocat-spinner-32 ares_set_local_ip4.3
Octocat-spinner-32 ares_set_local_ip6.3
Octocat-spinner-32 ares_set_servers.3 local-bind: Support binding to local interface/IPs July 18, 2010
Octocat-spinner-32 ares_set_servers_csv.3 local-bind: Support binding to local interface/IPs July 18, 2010
Octocat-spinner-32 ares_set_socket_callback.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_setup.h
Octocat-spinner-32 ares_strcasecmp.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_strcasecmp.h remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_strdup.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_strdup.h remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_strerror.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_strerror.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_timeout.3
Octocat-spinner-32 ares_timeout.c
Octocat-spinner-32 ares_version.3 remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_version.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_version.h
Octocat-spinner-32 ares_writev.c remove all $Id$ lines March 27, 2010
Octocat-spinner-32 ares_writev.h remove all $Id$ lines March 27, 2010
Octocat-spinner-32 bitncmp.c
Octocat-spinner-32 bitncmp.h
Octocat-spinner-32 buildconf
Octocat-spinner-32 buildconf.bat remove all $Id$ lines March 27, 2010
Octocat-spinner-32 cares.rc
Octocat-spinner-32 config-win32.h
Octocat-spinner-32 config.dos
Octocat-spinner-32 configure.ac
Octocat-spinner-32 get_ver.awk
Octocat-spinner-32 inet_net_pton.c
Octocat-spinner-32 inet_net_pton.h
Octocat-spinner-32 inet_ntop.c
Octocat-spinner-32 inet_ntop.h
Octocat-spinner-32 install-sh
Octocat-spinner-32 libcares.pc.in
Octocat-spinner-32 maketgz
Octocat-spinner-32 mkinstalldirs
Octocat-spinner-32 nameser.h
Octocat-spinner-32 setup_once.h
Octocat-spinner-32 windows_port.c build: move platform stuff to ares_platform.c and ares_platform.h March 24, 2011
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.