i just published a WebSocket module to my Corona repo at github. it’s one of the tools i needed for a project i’m working on, so decided to share it with the community.
i tested the performance a few days ago and was getting ~2-3KB/s throughput – the example i have showed the data updates reflected in a scrollable list (scrolling smoothly). soon i’ll post the code for this performance example in the github repo along with the other example currently there.
that throughput is fast enough for my project, however i’m sure it could be faster. unfortunately Corona SDK doesn’t include any of the binary processing libraries (bit or lpack), so everything is being manipulated in Lua.
it would be awesome if CoronaLabs or someone in the community added these two libraries to the Plugins area so that we could supercharge low-level binary protocols !
if you’re interested to know more:
http://code.coronalabs.com/code/dmcwebsockets
https://github.com/dmccuskey/DMC-Corona-Library
happy coding !
dmc
ps, i actually wrote this to support a library module for WAMP (http://wamp.ws) – a Corona WAMP client is really the Holy Grail for my project. i’m going to start coding soon…