The version of Visual C++ that I have doesn't support the addrinfo structure :( I'm upgrading the Platform SDK, I wonder if this will help. I know they have support for addrinfo, because it is on MSDN. :( I just hope I can make the compiler I have work....
Some people might be wondering why a unix programmer would be programming on Win32 so much lately. Most of the code that I write is POSIX compliant and done in C++, from that perspective it doesn't matter if I compile on Windows or on Unix. There are always small issues... but nothing that I can't overcome. Bottom line: I'm a programmer. I'll code anything, in any language, for any platform.
Anyway, I have a little side job going, and it is Windows centric. It has been a good opportunity to shake the dust of my Windows programming experience.
Update: Updating the platform SDK doesn't help. Fortunately, MSDN has a VC++ 8 Beta release out. Update: It seems updating the Platform SDK was the right thing to do, but the include directories have to be modified to use the new SDK files :( Still trying to figure that out. Update: I worked out the include paths, environment variables, etc, now I get an error from the Wspiapi.h complaining about a zero sized array. :( 