[Libevent-users] libevent on windows: select() fails

Nick Mathewson nickm at freehaven.net
Tue Jun 3 13:18:47 EDT 2008


On Tue, Jun 03, 2008 at 07:08:57PM +0200, Shiqing Fan wrote:
> Hi all,
> 
> I'm testing Libevent 1.3 with VS2005 on Windows.
> 
> The same problem below there happens on my machine, select() always 
> returns -1. Does anyone know the reason?  Sorry for polling this old 
> mail up, I just found someone has asked the same question that I got, 
> but no answer.  Thanks a lot.

Sometimes this means that you haven't called WSAStartup ?  Winsock wants
to be initialized.




More information about the Libevent-users mailing list