[zeromq-dev] Connecting sockets with different ZeroMQ contexts

Luca Boccassi luca.boccassi at gmail.com
Thu Apr 12 11:54:30 CEST 2018

On Wed, 2018-04-11 at 14:28 -0700, Manuel Segura wrote:
> Hello,
> Is there a unit test that test connections between sockets of two or
> more
> different ZeroMQ contexts?
> The reason I'm asking is that I have a set of Pub sockets and a set
> of Sub
> sockets that share the same ZeroMQ context, but both sets of sockets
> connect to a zmq_proxy where the front end is a XSub and the backend
> is a
> XPub and the XSub and XPub sockets have a different context than the
> sets
> of Pub and Sub sockets.
> There seems to be no data transfer happening between the Pub sockets
> and
> the Sub sockets on VxWorks 6.8, so I'm wondering if it is because the
> zmq_proxy is using a different context. It works when all sockets
> share the
> same context.
> Any help is appreciated.

inproc works only on the same context as you can imagine, other
transports work fine as that's basically like having 2 different
processes talking to each other

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180412/d9dad7ea/attachment.sig>

More information about the zeromq-dev mailing list