lua-users home
lua-l archive

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




On Tue, Mar 24, 2009 at 3:22 PM, John Dunn <John_Dunn@qscaudio.com> wrote:

My main issues with these approaches is that the script would look
pretty ugly and if the user passed the wrong arguments to the Socket
calls it would be possible to 'wedge' the script. The nice thing about
the truly asynchronous model is the user can't screw things up.



sounds like the easiest solution for you would be to write your own thin API on top of LuaSocket, and expose only that to the user scripts.


--
Javier