lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.