[zeromq-dev] ZMQ 3.1 and jzmq compatibility
Chuck Remes
cremes.devlist at mac.com
Tue Jan 31 15:53:08 CET 2012
On Jan 31, 2012, at 8:42 AM, john skaller wrote:
>
> On 01/02/2012, at 12:52 AM, Staffan Gimåker wrote:
>
>> Not sure that it's fixable, since AFAIK there's no way (?) to detect the
>> ZeroMQ version being used on the other side.
>
> Just an idea, is it possible in 3.1 to add the protocol version to the messages?
> Like say:
>
> \0xE5\0x31 [rest of message]
>
> where 31 is the protocol version and E5 is a fixed sync byte?
> That would actually enable the above feature (if missing, probably 2.1)?
You should look at the existing proposals for the wire protocol.
http://rfc.zeromq.org/
Check out specs 13 and 15.
If we start mucking with the wire protocol, then we should start from a known and good foundation.
cr
More information about the zeromq-dev
mailing list