lua-users home
lua-l archive

Non-blocking accept()

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


Hi,
I've done a quick search of the lua-l archive, but I can't find a quick
answer... A toy I'm currently playing with needs a non-blocking accept()
function. LuaSocket doesn't seem to provide this. (It waits until a
connection is made). Is it possible to make it return nil or similar
if a connection isn't waiting? If not, does anybody know of a socket
library for Lua that would allow this?
Cheers,
-- 
Rob Kendrick - http://www.digital-scurf.org/
DEC diagnostics would run on a dead whale.
		-- Mel Ferentz

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