lua-users home
lua-l archive

Re: Luasocket select/timeout problems on UDP

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


Hi,
I'll dig further, but I find it hard to believe that it is a Freebsd bug (I'm a bit biased, since the BSD networking code was developed here at LBL). Perhaps there's an interpretation difference in the expected parameters.
I have been exchanging e-mails privately with Jonathan Gray, and he does
not confirm your problem.
 -- Jonathan Gray Wrote:
 On OpenBSD amd64 -current with
 gray's machine$ pkg_info | fgrep lua
 lua-5.0.2p6 powerful, light-weight programming language
 luacompat-5.1r4 compatibility module for lua 5.1
 luasocket-2.0p1 network support for the lua language
 0.00012803077697754 (should be 0.5, but unoffical patch messes things up)
 Packet received on 127.0.0.1/36630 1 bytes
 Packet received on 127.0.0.1/36630 2 bytes
 Packet received on 127.0.0.1/36630 3 bytes
 Packet received on 127.0.0.1/36630 4 bytes
 Packet received on 127.0.0.1/36630 5 bytes
 0.00011992454528809
 ...
Also, we noticed unofficial patches to LuaSocket in the OpenBSD
distribution that caused at least one bug. I don't have access to
OpenBSD, nor can I control this kind of patch.
Can you two please help me figure this one out?
Regards,
Diego.

AltStyle によって変換されたページ (->オリジナル) /