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: [email protected] > To: [email protected] > Subject: Re: [zeromq-dev] Problem using inproc - What am I doing wrong? > > On Fri, Aug 24, 2012 at 10:54 PM, Iggy Philly <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
