The correct way is to use zmq_poll and only read from a socket when it
has a message waiting.

-Pieter

On Tue, Jan 15, 2013 at 4:05 PM, Paul Kotlyar <[email protected]> wrote:
> Hello all,
>
> I am using C# bindings, but i think this is a low level question. How does one
> go about unblocking a zeromq socket while it is on the recieve call. Right now
> i'm just killing the thread on which the socket.recieve call is being made. I
> know that is not the right way to do it. Any comments?
>
>
> Thanks In advance
>
> Paul kotlyar
>
> _______________________________________________
> 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

Reply via email to