[zeromq-dev] ZMTP greeting
Doron Somech
somdoron at gmail.com
Tue Jul 8 17:16:04 CEST 2014
>From ZMTP v2.0 RFC
- Send a 10-octet signature consisting of "%xFF length %x7F" where
'length' is the length of the sender's identity (0 or more octets) plus 1.
The length MUST be 8 octets in network byte order.
On Tue, Jul 8, 2014 at 6:15 PM, Doron Somech <somdoron at gmail.com> wrote:
> the length of the identity plus one
>
>
> On Tue, Jul 8, 2014 at 6:09 PM, Chris Laws <clawsicus at gmail.com> wrote:
>
>> I'm playing around with a ZMTP implementation and I notice that other
>> ZMTP implementations seem to be setting the second last byte of the ZMTP
>> signature to \x01 (the byte before the last \x7F).
>>
>> The various ZMTP specs (15, 23, 37) indicate that the 8 bytes between the
>> \xFF and \x7F should be \x00 or insignificant ignored bytes. Yet
>> implementations such as libzmtp and libzmq are explicitly setting this byte
>> to \x01.
>>
>> Does this field in the ZMTP greeting actually represent something?
>>
>> Regards,
>> Chris
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140708/f03a2a4b/attachment.htm>
More information about the zeromq-dev
mailing list