[zeromq-dev] PUB/SUB issues with different transports

Attila-Mihaly Balazs x_at_y_or_z at yahoo.com
Fri May 27 12:29:27 CEST 2011

Hello all,

This might just be PEBKAC, since I'm new to ZeroMQ, but here I go:

- does the ZMQ context any role other than giving a termination point 
for sockets created from it?
- if I use the IPC transport with PUB/SUB and I create two PUB sockets 
with the same address (but from different contexts), I only get the 
messages from one of those in the SUB sockets. Should this setup be 
- if I use the INPROC transport, the connect call on the SUB socket 
fails if the PUB socket wasn't created first. Is this the expected 
behaviour? Shouldn't the SUB socket connect automatically whenever the 
PUB becomes available?

- Ubuntu 11.04 32 bit system
- zeromq 2.1.7 stable installed from Ubuntu 11.10 packages
- jzmq checked out from GIT and built from source

Best regards,
Attila Balazs

More information about the zeromq-dev mailing list