[zeromq-dev] Pub/Sub questions

Marc Ilgen marc at westofpluto.com
Mon Jul 18 20:37:37 CEST 2011

Suppose I set up a client/server system with SUB and PUB sockets. I want the
client to have to authenticate its ability to subscribe and I want the
server to have the ability to unsubscribe a specific named client in the
case that the client's subscription credentials expire or become invalid for
any reason. 

How can I do this? The only way I can think of to subscribe is to have the
client connect to the server in a REQ/REP fashion and send authenticate
information that way. But I can't see how a PUB socket can drop a
subscriber. Any ideas?

Marc Ilgen
marc at westofpluto.com
-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org
[mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
Sent: Monday, July 18, 2011 4:10 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] assert error: what's up with 0mq v3?

On Sun, Jul 17, 2011 at 1:53 AM, Marc Ilgen <marc at westofpluto.com> wrote:

> OK I tried this very same code with release 2.1.7 of 0mq and it works
> no crashes.

3.0.0 is a first packaging of a new version, so it's fair to assume
there are some issues there.

At this stage, 3.0.x is really only for people who want the new
functionality and are willing to help make this version mature.

Please, do make minimal test cases and report any issues you find via

zeromq-dev mailing list
zeromq-dev at lists.zeromq.org

More information about the zeromq-dev mailing list