adns, originally written for Linux/UNIX by Ian Jackson, is a resolver library for C (and C++) programs. The Win32 version is tested on Windows NT 4.0 SP 6, Windows 98 Second Edition and Windows 2000. The library comes as a dll and as a static library. The intention behind this port is to ease cross platform development of Internet server software.
Please see the adns website for general information about adns.
Note that the library is compiled with code-generation for [Debug] Multithread DLL. If you use different code-generation in your projects, you will most likely get some strange linkage errors.
The shipped runtime library and dll should be compatible with most Win32 compilers. The functions are native C functions.
The dll comes in two versions,
You must #define ADNS_DLL before including the adns header file if you want to use the dll.
Header file: adns.h
Library: adns_dll.lib or adns_dlld.lib
Other required libraries: C runtime libraries, Ws2_32.lib, Iphlpapi.lib
The static library comes in two versions,
Header file: adns.h
Library: adns_lib.lib or adns_libd.lib
Other required libraries: C runtime libraries, Ws2_32.lib, Iphlpapi.lib
adns for Win32 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program and documentation is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with adns,
or one should be available above; if not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA, or email adns-maint@chiark.greenend.org.uk
.
This web page is Copyright (C)2000 Jarle (jgaa) Aase and brought to you by Jgaa's Internet