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-22 Thread Raúl Parada Medina
and each time with some >> new values of lat and lon. >> >> One concrete thing I notice in your code. Your the SUB socket in the >> receiver does not register any topic. See: >> >> >> https://pyzmq.readthedocs.io/en/latest/api/zmq.html#zmq.Socket.sub

[zeromq-dev] PUB/SUB not sending data

2023-11-22 Thread Raúl Parada Medina
Hi, I'm sending data in python between two connect machines within the same network (successfully connected). The publisher code is defined as: def senderzmq(self, lat, lon): sock = zmq.Context().socket(zmq.PUB) sock.bind("tcp://*:1") running = True while running: