Commit 5a0d2129 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #798 from pijyoi/master

doc bugfix: ZMQ_MSGMORE should be ZMQ_SNDMORE
parents b5aa2b0f 5fa3f0a0
...@@ -446,7 +446,7 @@ ZMQ_ROUTER_RAW: switch ROUTER socket to raw mode ...@@ -446,7 +446,7 @@ ZMQ_ROUTER_RAW: switch ROUTER socket to raw mode
Sets the raw mode on the ROUTER, when set to 1. When the ROUTER socket is in Sets the raw mode on the ROUTER, when set to 1. When the ROUTER socket is in
raw mode, and when using the tcp:// transport, it will read and write TCP data raw mode, and when using the tcp:// transport, it will read and write TCP data
without 0MQ framing. This lets 0MQ applications talk to non-0MQ applications. without 0MQ framing. This lets 0MQ applications talk to non-0MQ applications.
When using raw mode, you cannot set explicit identities, and the ZMQ_MSGMORE When using raw mode, you cannot set explicit identities, and the ZMQ_SNDMORE
flag is ignored when sending data messages. In raw mode you can close a specific flag is ignored when sending data messages. In raw mode you can close a specific
connection by sending it a zero-length message (following the identity frame). connection by sending it a zero-length message (following the identity frame).
......
...@@ -354,10 +354,10 @@ socket identity using the ZMQ_IDENTITY zmq_getsockopt call. ...@@ -354,10 +354,10 @@ socket identity using the ZMQ_IDENTITY zmq_getsockopt call.
To close a specific client connection, as a server, send the identity frame To close a specific client connection, as a server, send the identity frame
followed by a zero-length message (see EXAMPLE section). followed by a zero-length message (see EXAMPLE section).
The ZMQ_MSGMORE flag is ignored on data frames. You must send one identity frame The ZMQ_SNDMORE flag is ignored on data frames. You must send one identity frame
followed by one data frame. followed by one data frame.
Also, please note that omitting the ZMQ_MSGMORE flag will prevent sending further Also, please note that omitting the ZMQ_SNDMORE flag will prevent sending further
data (from any client) on the same socket. data (from any client) on the same socket.
[horizontal] [horizontal]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment