On Mar 6, 2011, at 6:46 PM, Jayanth Acharya wrote:
> 'd prefer the example to be pure Lua, and using LuaSocket.
Have you looked under luasocket/etc, sample and test directory? There are quite a few usage examples there, no?
Had not looked there. Not sure if this is because at the moment I am working on a Windows PC, the only examples I see are under here: C:\Program Files\Lua\5.1\examples\luasocket and I didn't find any "etc/" directory there.
Also, the only examples seem to be fairly simple ones (as far as the network programming aspects are concerned), though quite short and elegant ones at that. I am lookingly for slightly more elaborate / real-life examples of some real-life TCP based (hopefuly binary) application protocol implementation.