[zeromq-dev] asynchronous socket.bind from python
Jerry Scharf
scharf at lagunawayconsulting.com
Wed Feb 24 02:27:53 CET 2016
Hi,
My first app is a master talking to a dozen raspberry pis. Each of the
pis have a pub and reply socket to bind to from the master. I want to
basically try to connect to these and then start controlling them once
they come up.
I am writing in python, and was hoping to keep things single threaded
for the initial stupid tests (makes initial debugging way easier.) I can
use poll to see who has sent a message and process it. What I haven't
figured out is how not to have the code go away when attempting to bind
the req and sub sockets.
Any thoughts on how to do this?
thanks,
jerry
More information about the zeromq-dev
mailing list