[zeromq-dev] Packets with ZMQ_SNDMORE set vaporize over EPGM [ØMQ 2.1.4/OSX]

Matt Weinstein mattweinstein at gmail.com
Sat Apr 16 06:51:24 CEST 2011


Pretty much says it all :

I send three messages over a ZMQ_PUB socket to a ZMQ_SUB socket (two header packets, one payload) with a null filter.

If I turn on ZMQ_SNDMORE for any of the header packets (as one might expect) on send(), they simply never appear at the recv() thread.  

sendmsg len 4
sendmsg len 4
sendmsg len 7
recvmsg len 7 more 0

Turn off ZMQ_SNDMORE, the packets appear where expected, e.g. removed from 2nd header packet (length 9):

sendmsg len 4
sendmsg len 9
sendmsg len 7
recvmsg len 9 more 0

The ZMQ_SNDMORE packets are vaporizing somewhere up and down the stack.

Not sure whether this is:

- a limitation of the packet assembly/disassembly strategy for (E)PGM
- some stack or PGM implementation issue for OSX
- other?

Happens with firewall on or off.

RSVP,

Thanks!

Best,

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110416/416f5e60/attachment.htm>


More information about the zeromq-dev mailing list