GNU adns for Win32

Advanced, easy to use, asynchronous-capable DNS client library and utilities.

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.

Current ported version

Supported compilers

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.

Win32 specific defines

adns as a dll

The dll comes in two versions, 

  1. adns_dll.dll - normal runtime version
  2. adns_dlld.dll - debug version with symbolic information

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

adns as a static library

The static library comes in two versions,

  1. adns_lib.lib - normal runtime version
  2. adns_libd.lib - debug version with symbolic information

Header file: adns.h
Library: adns_lib.lib or adns_libd.lib
Other required libraries: C runtime libraries, Ws2_32.lib, Iphlpapi.lib

Limitations in the Win32 version

Download

Copyright and licensing

adns for Win32 is Copyright 2000 Jarle (jgaa) Aase, Copyright 1997-2000 Ian Jackson, Copyright 1999 Tony Finch, and Copyright (C) 1991 Massachusetts Institute of Technology.

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