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 call *WSAStartup* more than once if it needs to > obtain the *WSADATA* structure information more than once. On each such > call, the application can specify any version number supported by the > Winsock DLL. > > An application must call the *WSACleanup* function for every successful > time the *WSAStartup* function is called.
Ah! Never mind that part of my message then. If this is so, I see no reason not to add a WSAStartup call. yrs, -- Nick _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users