I compiled libevent (2.0.21) for windows under linux using mingw, then I ported my application and tried it using wine under linux, it worked well like the linux one (libevent is statically linked in the exe).
But when I executed the application under a real windows, I can't connect to the second TCP server.
a netstat -a shows me that the TCP server is started, but the accept callback of my code is never fired.