lua-users home
lua-l archive

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


Hi!

Concerning this thread:

http://lua-users.org/lists/lua-l/2013-03/msg00122.html

Setting up a luasec with (non blocking) event loop framework lua-ev
seems to work. I used luasec/sample/want/*.lua as basis and ended up
with 3 files:

server_ev.lua: luasec server non-block
client.lua: normal sync luasec client (with additional sleeps to prove
responsiveness of server_ev)
handshake.lua: normal sync luasec client (with additional sleeps to
prove responsiveness server_ev)

https://gist.github.com/lipp/5635191