aroma icon indicating copy to clipboard operation
aroma copied to clipboard

Support for LuaSocket

Open vschiavoni opened this issue 13 years ago • 2 comments

Hello, this is a very interesting project. It would be interesting to have LuaSocket support for applications. Do you plan to support it/does it already work ?

thanks, valerio

vschiavoni avatar May 14 '12 15:05 vschiavoni

Sadly LuaSocket won't be able to work with Native Client. Chrome restricts what is possible from Native Client app, and opening a socket is not allowed for security reasons.

But, Native Client does have a WebSocket API, which is alternative great for multiplayer games and other similar things. I plan to expose this in Lua, I just haven't done it yet!

leafo avatar May 14 '12 18:05 leafo

Interestingly enough I just saw this: http://blog.alexmaccaw.com/chrome-tcp-udp

Looks like I'll be able to add a LuaSocket like api in the near future.

leafo avatar May 14 '12 20:05 leafo