• KIU Shueng Chuan's avatar
    Problem: zmq_stream doc is confusing regarding ZMQ_SNDMORE flag · 53402156
    KIU Shueng Chuan authored
    Solution: fix it.
    
    The documentation first states that the ZMQ_SNDMORE flag is ignored on
    data frames. Then it states that omitting the ZMQ_SNDMORE flag has
    consequences. The example HTTP server code further muddies the situation
    with a similar comment.
    
    The implementation of ZMQ_STREAM only accepts two-part messages.
    The first part is an identity frame while the second and last part is
    the data frame.
    
    As with any multipart message, all parts except the last need the
    ZMQ_SNDMORE flag. The second and last part would normally omit the
    ZMQ_SNDMORE flag to mark the end of the multipart message.
    
    However, the ZMQ_STREAM implementation ignores the ZMQ_SNDMORE flag on
    the data frame rather than requiring that it be omitted. The latter
    behaviour would have been more consistent with the other ZeroMQ
    sockets.
    53402156
Name
Last commit
Last update
..
Makefile.am Loading commit data...
asciidoc.conf Loading commit data...
zmq.txt Loading commit data...
zmq_atomic_counter_dec.txt Loading commit data...
zmq_atomic_counter_destroy.txt Loading commit data...
zmq_atomic_counter_inc.txt Loading commit data...
zmq_atomic_counter_new.txt Loading commit data...
zmq_atomic_counter_set.txt Loading commit data...
zmq_atomic_counter_value.txt Loading commit data...
zmq_bind.txt Loading commit data...
zmq_close.txt Loading commit data...
zmq_connect.txt Loading commit data...
zmq_ctx_destroy.txt Loading commit data...
zmq_ctx_get.txt Loading commit data...
zmq_ctx_new.txt Loading commit data...
zmq_ctx_set.txt Loading commit data...
zmq_ctx_shutdown.txt Loading commit data...
zmq_ctx_term.txt Loading commit data...
zmq_curve.txt Loading commit data...
zmq_curve_keypair.txt Loading commit data...
zmq_disconnect.txt Loading commit data...
zmq_errno.txt Loading commit data...
zmq_getsockopt.txt Loading commit data...
zmq_gssapi.txt Loading commit data...
zmq_has.txt Loading commit data...
zmq_init.txt Loading commit data...
zmq_inproc.txt Loading commit data...
zmq_ipc.txt Loading commit data...
zmq_msg_close.txt Loading commit data...
zmq_msg_copy.txt Loading commit data...
zmq_msg_data.txt Loading commit data...
zmq_msg_get.txt Loading commit data...
zmq_msg_gets.txt Loading commit data...
zmq_msg_init.txt Loading commit data...
zmq_msg_init_data.txt Loading commit data...
zmq_msg_init_size.txt Loading commit data...
zmq_msg_more.txt Loading commit data...
zmq_msg_move.txt Loading commit data...
zmq_msg_recv.txt Loading commit data...
zmq_msg_routing_id.txt Loading commit data...
zmq_msg_send.txt Loading commit data...
zmq_msg_set.txt Loading commit data...
zmq_msg_set_routing_id.txt Loading commit data...
zmq_msg_size.txt Loading commit data...
zmq_null.txt Loading commit data...
zmq_pgm.txt Loading commit data...
zmq_plain.txt Loading commit data...
zmq_poll.txt Loading commit data...
zmq_proxy.txt Loading commit data...
zmq_proxy_steerable.txt Loading commit data...
zmq_recv.txt Loading commit data...
zmq_recvmsg.txt Loading commit data...
zmq_send.txt Loading commit data...
zmq_send_const.txt Loading commit data...
zmq_sendmsg.txt Loading commit data...
zmq_setsockopt.txt Loading commit data...
zmq_socket.txt Loading commit data...
zmq_socket_monitor.txt Loading commit data...
zmq_strerror.txt Loading commit data...
zmq_tcp.txt Loading commit data...
zmq_term.txt Loading commit data...
zmq_tipc.txt Loading commit data...
zmq_udp.txt Loading commit data...
zmq_unbind.txt Loading commit data...
zmq_version.txt Loading commit data...
zmq_vmci.txt Loading commit data...
zmq_z85_decode.txt Loading commit data...
zmq_z85_encode.txt Loading commit data...