[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Let's make Lua mobile!
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Sun, 30 Oct 2011 10:36:40 +0000
On Sun, Oct 30, 2011 at 2:30 AM, David Hollander <firstname.lastname@example.org> wrote:
> 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.