Re: [zeromq-dev] PUB/SUB not sending data

2023-11-23 Thread Raúl Parada Medina
Hi, I've followed this tutorial, however, it includes the while True statement which I would like to avoid and it's more complex as required. Best, Raúl Missatge de Brett Viren del dia dc., 22 de nov. 2023 a les 15:00: > Hi again, > > Perhaps copy-paste the example: > > >

Re: [zeromq-dev] PUB/SUB not sending data

2023-11-23 Thread Francesco
Hi Raul, I think the example at https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/patterns/pubsub.html is using a "while True" just for the sake of the example. The main point is that the PUB socket is global, it is initialized once, and then has a long-lifetime (basically it's