[zeromq-dev] [PATCH] ZMQ_PEER_EXISTS option

Artur Brugeman brugeman.artur at gmail.com
Wed Jun 8 04:38:07 CEST 2011


Hi Pieter,

Yes, thats right, If you've got a better idea how to solve my problem, I'll be
happy to try it.

Also, there is, probably, another problem with p2p - connections
are not stable, peers come and go. If peer I'm connected to dies, it might not
show up for quite a long time (of even ever). Zmq socket, which was connected to
dead peer, will try to reconnect, which is in this case senseless. So another
option I envision is an ability to disconnect from certain peer (again only for
ROUTER socket).

--
Brugeman Artur


> Hi Artur,
>
> Just to confirm your use case...
>
> You're using explicit identities for each node, right? Connecting out
> from ROUTER to ROUTER, and trying to avoid both incoming and outgoing
> connections between the same two nodes?
>
> -Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110608/f2d9d1da/attachment.htm>


More information about the zeromq-dev mailing list