On Mar 7, 2010, at 10:41 AM, Martin Sustrik wrote:

> Unfortunately we cannot avoid tweaking current wire format. For the 
> description of current format have a look here:
> 
> http://api.zeromq.org/zmq_tcp.7.html
> 
> My proposal for tweaked format is: Insert a single byte between 
> frame-length and frame-data. The byte is a bitmap called frame-flags.
> At the moment we'll define a single flag called TO_BE_CONTINUED (propose 
> a better name!) that will be be set for all the messages in the group 
> except the last one. Single ungrouped message will be considered to be a 
> single-message group. Frame-length is the length of the remaining part 
> of the message, i.e. frame-flags length (1) + frame-data length.

[NOTE: I originally just hit "reply" so this went only to Martin. Can the list 
mods change the default behavior for this list so reply goes to it instead of 
the author?]



Any issues with non-aligned access? I realize the format already causes that 
for the large message case (> 254 bytes).

I only ask because most processors these days are optimized for access aligned 
along the 4-byte boundary (or perhaps it doesn't matter anymore).

cr
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to