[zeromq-dev] re binary star server example in python
Rob Fowler
legal at mianos.com
Tue Jan 17 11:57:10 CET 2012
I, hopefully fixed (and have tested), the python binary star server example.
I didn't want to use the cleaner reactor example that follows, possibly
unlike most others, as I have my own loop and want to integrate it to my
existing code.
The logic in the command line parsing seemed to be so wrong it was maybe
never run, but confusingly to me, the rest of the code is non trivial
yet fundamentally correct.
I had to make a few changes. Here is a diff or the few lines I changed:
http://pastebin.com/FVppHKR0
Quite possibly the HEARTBEAT stuff is not 100% what is meant to be done
but it seems to work (and could never have worked before), I am sure
trivial perusal by someone 'in the know' can correct me if I am wrong.
More information about the zeromq-dev
mailing list