Skip to content

Instantly share code, notes, and snippets.

View jmrenouard's full-sized avatar
😎
Under control for this moment

Jean-Marie Renouard jmrenouard

😎
Under control for this moment
View GitHub Profile
#!/usr/bin/env python
# zmqc: a small but powerful command-line interface to ZMQ.
## Usage:
# zmqc [-0] (-r | -w) (-b | -c) SOCK_TYPE [-o SOCK_OPT=VALUE...] address [address ...]
## Examples:
# zmqc -rc SUB 'tcp://127.0.0.1:5000'
#
# Subscribe to 'tcp://127.0.0.1:5000', reading messages from it and printing