I am curious as to why the backwards interoperability handshake works.
It seems that a 1.0 peer ought to interpret
"%xFF 7%x00 %x01 %x7F"
as a frame with MORE bit set?
# this works
sock = socket.create_connection(('127.0.0.1', 5555))
sock.send('\xFF' + 7*'\x00' + '\x01\x7F')
sock.send('\x06\x00HELLO')
# this works too
sock = socket.create_connection(('127.0.0.1', 5555))
sock.send('\xFF' + 7*'\x00' + '\x01\x7E')
sock.send('\x06\x00WORLD')
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev