[zeromq-dev] Problem using inproc - What am I doing wrong?

Iggy Philly iggy.philly at hotmail.com
Sat Aug 25 03:12:31 CEST 2012

 I set up the subscription in startTestThread(). I see it's "polling" cout every second but it never gets any messages.
Do you mean I need a filter? I didn't think that was required. I did try adding this (for several differnt filters including ""): string filt = "test"; zmq_setsockopt(socket, ZMQ_SUBSCRIBE, filt.c_str(), filt.length()); But the behavior was unchanged.> Date: Fri, 24 Aug 2012 22:55:42 +0100
> From: ian.barber at gmail.com
> To: zeromq-dev at lists.zeromq.org
> Subject: Re: [zeromq-dev] Problem using inproc - What am I doing wrong?
> On Fri, Aug 24, 2012 at 10:54 PM, Iggy Philly <iggy.philly at hotmail.com> wrote:
> > I'm trying a simple example using inproc but I'm obviously doing something
> > wrong. My publisher socket sends a message out and the subscriber is polling
> > but never sees anything. I'm sure it's something silly. Here's my code:
> You're not subscribing to anything - you need to at least subscribe to
> a blank string to see everything.
> Ian
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120824/0a41412b/attachment.htm>

More information about the zeromq-dev mailing list