That is a runtime error, right? You need to initialize windsock before using it. See, for example: http://msdn.microsoft.com/en-us/library/windows/desktop/ms738566(v=vs.85).aspx. There's documentation on runtime winsock errors here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx.Hope this helps,TimFrom: simon zhang <hapopen@xxxxxxxxx>
Reply-To: "libevent-users@xxxxxxxxxxxxx" <libevent-users@xxxxxxxxxxxxx>
Date: Monday, January 14, 2013 12:48 PM
To: "libevent-users@xxxxxxxxxxxxx" <libevent-users@xxxxxxxxxxxxx>
Subject: [Libevent-users] some error about evsig_init in winxp.I compile the code as DLL in winxp with libevent.The compiler is msvc90.But It have some error as the following:evsig_init:socketpair:Successful WSAStartup not yet performed [WSANOTINITIALISED]How to make it work correctly?I have tried to compile in mingw and have the same error.The dll is a module of python.