[zeromq-dev] Asynchronous client-to-server (DEALER to ROUTER) without czmq - assert on bind

Pieter Hintjens ph at imatix.com
Tue Oct 15 12:59:59 CEST 2013


On Tue, Oct 15, 2013 at 12:49 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:

> Thanks Pieter. My problem came from I forgot to configure the debugger for
> multithreading.

It can be fun when the debugger introduces its own problems. That's
one reason I never use a debugger.

> I have one question please : is it "legal" to use a PUB socket without a
> poller ? In my test, I receive nothing.

For sure, it's legal. You do have to give the subscriber time to
connect, or everything will be sent and dropped in the 50msec or so it
takes for the connect to complete.

-Pieter



More information about the zeromq-dev mailing list