NetF 0.3a Compiling In order to compile, with VC++ .NET 2003 and be able to run on older Windows versions, you need to add the following lines at the end of the "wspiapi.h" file. // Workaround for missing DLL entries #define GetAddrInfoW _GetAddrInfoW #define FreeAddrInfoW _FreeAddrInfoW __inline int WSAAPI _GetAddrInfoW( IN PCWSTR pNodeName, IN PCWSTR pServiceName, IN const ADDRINFOW * pHints, OUT PADDRINFOW * ppResult ) { return getaddrinfo(CStringA(pNodeName), CStringA(pServiceName), reinterpret_cast(pHints), reinterpret_cast(ppResult)); } __inline void WSAAPI _FreeAddrInfoW( IN PADDRINFOW pAddrInfo ) { freeaddrinfo(reinterpret_cast(pAddrInfo)); }