[zeromq-dev] C API improvement

Martin Sustrik sustrik at fastmq.com
Mon Feb 23 13:37:50 CET 2009

Dirk, Barak,

I've added czmq_mask function to the C API and "type" output parameter 
to czmq_receive to make the gap notification functionality accessible 
from CLI wrappers. Also, czmq_receive returns ID of the queue message 
was received from.

czmq_mask (obj, CZMQ_MESSAGE_GAP);
queue_id = czmq_receive (obj, &data, &size, &ffn, &type);
if (type == CZMQ_MESSAGE_GAP)
     printf ("messages missing!\n");


More information about the zeromq-dev mailing list