Due to problems, I believe, with the MS Libraries,
redefinition errors can occur.
I fixed this by swapping "#include <winsock2.h>"
and "#include <windows.h>" so that "#include
<winsock2.h>" is called first.
Otherwise Windows.h will include winsock.h which will
cause errors with winsock2.h
Logged In: YES
user_id=217
This one is a very strange error. Appearently, from what we have found,
is that the order in which windows.h and winsock2.h must be included is
different in vs.net than in vs6! The solution that exists in the testing
branch is to test the _MSC_VER and based on it change the include order,
and this actually does work since then both the .dsp and the .vcproj files
build. This led to the decision to also go ahead and build the vs.net dll's
with ipv6 enabled, which is also part of the stable2/1.3 or later releases...