:) Quite funny.

However, even after adding -

receiver.setsockopt(ZMQ_SUBSCRIBE, "", 0);

the result is the same. The subscriber is still not seeing the messages.

Any ideas?

On Thu, Feb 5, 2015 at 7:31 PM, Gregg Irwin <[email protected]> wrote:

> Hi Rajalakshmi,
>
> RI> I have only just subscribed to the zeromq-dev mailing list.
>
> :) I mean in your code. You need to set the socket option with a
> filter for what messages you want it to subscribe to. From
> http://api.zeromq.org/4-1:zmq-socket:
>
> > Initially a ZMQ_SUB socket is not subscribed to any messages, use
> > the ZMQ_SUBSCRIBE option of zmq_setsockopt(3) to specify which
> > messages to subscribe to.
>
> -- Gregg
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>

-- 

@BlisMedia <http://twitter.com/BlisMedia>

www.blismedia.com <http://blismedia.com>

This email and any attachments to it may be confidential and are intended 
solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent 
those of BlisMedia Ltd, a company registered in England and Wales with 
registered number 06455773. Its registered office is 3rd Floor, 101 New 
Cavendish St, London, W1W 6XH, United Kingdom.

If you are not the intended recipient of this email, you must neither take 
any action based upon its contents, nor copy or show it to anyone. Please 
contact the sender if you believe you have received this email in error. 
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to