Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Matthew Weigel
On Oct 26, 2010, at 8:48 PM, Nick Mathewson wrote: On Mon, Oct 25, 2010 at 11:02 PM, bottig...@gmail.com wrote: I've compiled libevent on windows 7 32bit with Mingw successfully. Unfortunately when I run a few test programs, some of them will print: [warn] evsig_init: socketpair: Successf

Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Dan Kegel
On Tue, Oct 26, 2010 at 6:48 PM, Nick Mathewson wrote: > People more experienced than I am about Windows can probably weigh in > on what the right thing is here. I think the expectation was that each DLL that uses winsock would call WSAStartup before using it, and WSACleanup when done. That's sa

Re: [Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-26 Thread Nick Mathewson
On Mon, Oct 25, 2010 at 11:02 PM, bottig...@gmail.com wrote: > I've compiled libevent on windows 7 32bit with Mingw successfully. > Unfortunately when I run a few test programs, some of them will print: > > [warn] evsig_init: socketpair: Successful WSAStartup not yet performed > [WSANOTINITIALISED

[Libevent-users] Libevent 2.0.8 crashes on Windows without WSAStartup

2010-10-25 Thread bottig...@gmail.com
I've compiled libevent on windows 7 32bit with Mingw successfully. Unfortunately when I run a few test programs, some of them will print: [warn] evsig_init: socketpair: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [warn] evthread_make_base_notifiable: socketpair: Successful WSAStar