[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Luasocket socket.select timeout bugs?
- From: Diego Nehab <diego@...>
- Date: Tue, 21 Sep 2004 16:17:17 -0400 (EDT)
Hi,
> > This doesn't work on Windows, though... Use socket.sleep instead.
>
> Can you clarify? Calling select() with sub-second timeouts works fine on
> for me on windows -- is this an issue with luasocket's use of winsock or
> windows itself?
>
> Wooo, first post to the group :)
Calling select with empty sets on Windows gives an error. Check the
manual and try it. :o)
"Any two of the parameters, readfds, writefds, or exceptfds, can be
given as null. At least one must be non-null, and any non-null
descriptor set must contain at least one handle to a socket."
[]s,
Diego.