zpc-publisher - simple ZMQ publisher
zpc-subscriber - simple ZMQ subscriber
zpc-publisher [OPTIONS] ENDPOINT TOPIC
zpc-subscriber [OPTIONS] ENDPOINT TOPIC
zpc-publisher(1) binds to ENDPOINT and publishes every line read from stdin to TOPIC.
zpc-subscriber(1) connect to ENDPOINT and subscribes to TOPIC.
-t or --timeout MS Set time-out in seconds.
-v or --verbose Turn on verbose messages.
-D or --debug Turn on debug messages.
-h or --help Display this message.
-V or --version Display the version.
Open two terminals, one runs:
$ zpc-publisher "tcp://*:5555" "my-topic"
Second runs:
$ zpc-subscriber "tcp://localhost:5555" "my-topic"
Every line entered in publisher is displayed to subscriber.
Uses option -D to display protobuf overhead.
Written by Gaël PORTAY gael.portay@gmail.com
Copyright (c) 2015-2017 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.