WARNING: This is a rough hack so I take no responsiblity for what it may do to your system.
This is how I got zone with perl support to compile on my Windows XP/Visual Studio .Net 2003 system. I went in-game and did a fairly thorough check of standard game functions, perl functions, and server stability/speed and everything seemed alright.
First, edit C:\Perl\lib\CORE\sys\socket.h
Change the winsock.h include line to winsock2.h
Finally add this to perlparser.cpp right below the features.h include line:
Code:
#define WIN32_LEAN_AND_MEAN
#ifdef __GNUC__
# define Win32_Winsock
#endif
After it compiles you may wanna change socket.h back to normal, especially if you do other work with the perl source.