mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Fixed example for multipart zmq_recv()
This commit is contained in:
parent
87612be91d
commit
c52d1f2d47
@ -83,7 +83,7 @@ assert (rc == 0);
|
|||||||
.Receiving a multi-part message
|
.Receiving a multi-part message
|
||||||
----
|
----
|
||||||
int64_t more;
|
int64_t more;
|
||||||
int64_t more_size = sizeof more;
|
size_t more_size = sizeof more;
|
||||||
do {
|
do {
|
||||||
/* Create an empty 0MQ message to hold the message part */
|
/* Create an empty 0MQ message to hold the message part */
|
||||||
zmq_msg_t part;
|
zmq_msg_t part;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user