[zeromq-dev] Formally modelling the publish-subscribe pattern

Brett Viren bv at bnl.gov
Fri Jun 4 14:39:49 CEST 2021


Hi John,

John Lång <john.lang at mykolab.com> writes:

> I'm reading this man page:
> https://linux.die.net/man/3/zmq_socket_monitor
> It seems to suggest that socket monitor is only available for pair
> type connections. Is that right? I'm using publish-subscribe.

I think that is a misunderstanding.  A PAIR is used to deliver
information from the monitor to the application.  I don't find anything
that limits which socket types can be monitored.  The example code shows
a REP being monitored.

-Brett.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 849 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20210604/7578b113/attachment.sig>


More information about the zeromq-dev mailing list