ZeroMQ control port
Leave a Comment so far
Leave a comment
October 30, 2011, 2:41 pm
Filed under: Software updates
Filed under: Software updates
I’ve posted my ØMQ zcontrol control port library to GitHub tonight. This makes it easy to embed an interactive control port in your ØMQ (v2 or v3)-based C programs.
Example of using a control port
% ./zcon -e tcp://127.0.0.1:3333 Connecting to tcp://127.0.0.1:3333. zcon> help help this text version version info shutdown shutdown server quit close session zcon> version Current 0MQ version is 3.0.3 zcon> quit |
You can add commands, for example — to control or monitor your program — using the zcontrol API. Use the zcon client shown above to run these commands interactively. Or, you can invoke them from any ØMQ req socket. I’ve used zcontrol both ways, e.g. manually and from a PHP script.
For further information please see,
- the zcontrol documentation: http://troydhanson.github.com/zcontrol/
- or git clone git://github.com/troydhanson/zcontrol.git
Feedback or suggestions are welcome- feel free to leave comments.
Advertisement
Leave a Comment
Leave a Comment so far
Leave a comment
