lua-users home
lua-l archive

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


On Sun, Oct 30, 2011 at 2:30 AM, David Hollander <dhllndr@gmail.com> wrote:
>>XMPP
>
> Let me proposes a different protocol that might suit your needs:
>
> 1st and 2 byte: message length
> X bytes: message
>
> message = any serialized lua value.
>
> Pass (senderIP, message) to a handler. The end :)

Serialized as in Pluto? That's brave. :)

Besides, I want human readability for all communication. Makes
everything just so much easier.

Simplicity is great anyway.

I might try my simple and trusty JSON-line-by-line-over-socket
protocol again that I use between Java and Lua in Lua OS.

-Stefan