[zeromq-dev] Router socket to force peer disconnect

Pieter Hintjens ph at imatix.com
Thu Jan 9 15:19:47 CET 2014

If you don't trust your peers you should probably be using ZeroMQ 4.x
and security. Then you will only see authenticated peers.

On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
<dvsekhvalnov at gmail.com> wrote:
> Hi All,
> continue my little evaluation of zeromq and wanted to ask next question: is
> it possible to force disconnect of client from router side? (e.g. disconnect
> req or dealer).
> If it is not possible are those clients who connected to router socket
> consume resources? A lot? Even if no messages send/received from them?
> We are in environment where we don't trust peers until they complete
> handshake with router socket.
> And would like to disconnect them if handshake failed. (i know we can simply
> ignore them and keep connected).
> Thanks.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list