I have a ZeroMQ network consisting of a PUSHer and multiple PULLers. The problem is that the number of pullers is unknown and, in certain cases, it can be 0. When the latter happens, socket.send(msg) never seems to return. If I remember well, this doesn't happen with PUB/SUB sockets.
Is there any way to avoid pushing packets when there is no puller on the other side of the pipe?
Thanks!
You can avoid blocking in several ways:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With