If you're doing web dev and don't know about json, you're probably doing
something wrong.
Anyway, good luck with your odd approach.
OK, OK, I shall look at it. May be it can simplify some of my tasks.
You see there are always so many things to look into it that ends up
looking a few
Well, now it sounds like you're reinventing mime types..., but this
isn't a horrible way to do it either I suppose. In either case what's
giving you the difficulty? You can send the bytestream by doing a
standard read() and write() across the socket, so this shouldn't be
too bad..
Thanks.
Does it have to be a binary format?
These days, it's common to use text-based formats even if it's somewhat
less efficient -- to simplify development, debugging and later, maintenance
and enhancements.
-- Kostya
30 декабря 2011 г. 17:29 пользователь SL@maxis ecp_...@my-rialto.comнаписал:
xxxThis is a greeting.
where:
xxx - message type (3 bytes, text)
- integer, 4 bytes, length of text
'This is a greeting.' - the actual text
There's no reason to use the NDK for this,
The standard Java socket API can be used for this easily:
On Fri, Dec 30, 2011 at 5:36 PM, SL ecp_...@my-rialto.com wrote:
xxxThis is a greeting.
where:
xxx - message type (3 bytes, text)
- integer, 4 bytes, length of text
'This is a greeting.' - the actual text
There's no reason to use the NDK for this,
The standard
5 matches
Mail list logo