1This is the ADNS resolver library for Windows, ported 2by Jarle (jgaa) Aase, jgaa@jgaa.com 3 4ADNS is not officially suppoted for Windows, but this 5port provides a 100% native Windows DLL and linker 6library for the DLL - suitable for traditional compilers 7and linkers under Windows. The library itself is ported to 8Microsot Visual C++ 6.0. 9 10The library is tested under Windows 2000 and XP, but should work 11with all versions from Windows NT 4 and up, and Windows98 12and up. Windows95 is not supported. 13 14If you want to use the library in your own C/C++ project, 15you must set the following manifests before including adns.h: 16 17#define ADNS_MAP_UNIXAPI 18#define ADNS_DLL 19 20ADNS_MAP_UNIXAPI will enable the Win32 port in the header- 21files (else, they will use the defauts for a UNIX system) 22 23ADNS_DLL will enable linking to the exported DLL functions. 24Currently I have only made the DLL available. There are two 25reasons for this: 26 27 1) The DNS protocol is a mess - and it's difficult to make 28 a foolproof implementation. If a security-problem is 29 found (or other bugs) - the fix can usually be deployed 30 just by replacing the DLL. 31 32 2) The GPL/LGPL lisence of ADNS (see GPL-vs-LGPL) will allow 33 you to use the .dll in your project - as far as I can tell. 34 A statically linked version will only be allowed in GPL 35 licensed projects. 36 37For more information about this port, see http://adns.jgaa.com 38 39 40/////////////////////////////////////////////////////// 41 42October 13th 2005 jgaa: adns-1.0-win32-05 43 - Fixed a problem with the return-value from adns_inet_aton() 44 Thanks to Gerald Combs for reporting the problem. 45 46October 7th 2004 jgaa: adns-1.0-win32-03 47 48 - Fixed a problem with error-messages when the program 49 works off-line. 50 Thanks to Ulf Lamping for pointing ourt and solving the problem. 51 52 53April 4th 2004 jgaa: adns-1.0-win32-03 54 55 - Fixed broken gettimeofday() function. 56 57 - Fixed problem with TCP connections, where the librarry 58 failed to connect to DNS servers with TCP, and flooded 59 the servers with TCP connection attempts. 60 61 - Made sure that errno was handled corrcetly after all network 62 (winsock) calls. 63 64 - Fixed a few places where noblocking calls were not handled 65 EAGAIN and EWOULDBLOCK is not the same under Windows. 66 67 68 69