[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Luasocket socket.select timeout bugs?
- From: Daniel Quintela <dq@...>
- Date: Tue, 21 Sep 2004 17:22:26 -0300
Diego Nehab escribió:
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
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."
WSAEINVAL The /time-out/ value is not valid, or all three descriptor
parameters were NULL.