[zeromq-dev] How do I close one pair of a multiply-connected socket?

Ian Barber ian.barber at gmail.com
Mon Jul 25 18:53:45 CEST 2011


On Mon, Jul 25, 2011 at 4:14 PM, Kim Lester <kim at dfusion.com.au> wrote:

> I have code that executes the statement
>        zmq_connect(s, remote_endpoint);
> multiple times to create a multiple-endpoint event receiver.
> It works well.
>

I would create a second socket that connects to the occasional server and
just add that to a poll set, removing it and closing the socket when you're
done.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110725/c398c55c/attachment.htm>


More information about the zeromq-dev mailing list