[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: LuaSec with nonblocking sockets
- From: Gerhard Lipp <gelipp@...>
- Date: Thu, 23 May 2013 12:35:06 +0200
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