Nmap Development mailing list archives

Re: Missing getaddrinfo on Windows 2000--almost solved


From: David Fifield <david () bamsoftware com>
Date: Wed, 27 Aug 2008 11:02:15 -0600

So, does _WIN32_WINNT *have* to be set to _WIN32_WINNT_WIN2K, or can
it be something slightly newer, like maybe _WIN32_WINNT_WIN2KSP1?

Of course I could hack a little in6addr_any for Ncat, but if Nmap or
anything else using Nbase wants any of these really common IPv6
definitions, this will be a problem.

We compile Nmap using Visual C++ 2008, and the respective runtime components
specify Windows 2000 SP4 as a minimum requirement*, so you can probably get
away with WIN2KSP1 (although people may still be able to compile our source
themselves using another compiler). I'd also be surprised if many people are
still using WIN2K RTM anywhere, but I'm sure we'll manage to annoy someone
somewhere if we leave them out ;)

Setting it to SP4 sounds fine. The important thing is that it be set to
*something* otherwise it defaults to Vista or Longhorn.

Sorry for the trouble.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: