c:Recvmore

while (1) {
zmq_msg_t message;
zmq_msg_init (&message);
zmq_msg_recv (&message, socket, 0);
// Process the message frame

zmq_msg_close (&message);
if (!zmq_msg_more (&message))
break; // Last message frame
}

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License