Re: [Libevent-users] Success compile libevent 1.4.3 with VC6

2008-05-16 Thread Nick Mathewson
On Wed, Apr 23, 2008 at 07:37:32PM -0400, Nick Mathewson wrote: On Wed, Apr 23, 2008 at 05:34:04PM +0400, Eugene 'HMage' Bujak wrote: [...] * Winsock library needs to be initialized and freed explicitly on win32. This is true, but it's not libevent's job to do it. Actually, I think I was

Re: [Libevent-users] Success compile libevent 1.4.3 with VC6

2008-04-29 Thread Nick Mathewson
On Sun, Apr 27, 2008 at 02:01:44PM +0100, James Mansion wrote: Also, I think this change will double-initialize winsock on all programs that use multiple event bases, and double-shutdown winsock whenever the bases are closed on those programs. From the MSDN docs: An application can

Re: [Libevent-users] Success compile libevent 1.4.3 with VC6

2008-04-27 Thread James Mansion
Also, I think this change will double-initialize winsock on all programs that use multiple event bases, and double-shutdown winsock whenever the bases are closed on those programs. From the MSDN docs: An application can call *WSAStartup* more than once if it needs to obtain the *WSADATA*

Re: [Libevent-users] Success compile libevent 1.4.3 with VC6

2008-04-23 Thread Eugene 'HMage' Bujak
Hi, I want to submit a more complete patch for VC6. This one makes all elements of the code compilable and this code is being used on a production-level project at work. The patch is in attachment. Compiles and works under VC6. * signal_test works. * timer_test works. * event_test fails due to

Re: [Libevent-users] Success compile libevent 1.4.3 with VC6

2008-04-23 Thread Nick Mathewson
On Wed, Apr 23, 2008 at 05:34:04PM +0400, Eugene 'HMage' Bujak wrote: Hi, I want to submit a more complete patch for VC6. This one makes all elements of the code compilable and this code is being used on a production-level project at work. The patch is in attachment. Compiles and works