[Libevent-users] Success compile libevent 1.4.3 with VC6

James Mansion james at mansionfamily.plus.com
Sun Apr 27 09:01:44 EDT 2008


> 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.




More information about the Libevent-users mailing list