https://github.com/programyazar/zcat
Zeromq test tool for sending / receiving data with usefull features...
https://github.com/programyazar/zcat
0mq command-line python zeromq zmq zmq-test-suite
Last synced: 4 months ago
JSON representation
Zeromq test tool for sending / receiving data with usefull features...
- Host: GitHub
- URL: https://github.com/programyazar/zcat
- Owner: ProgramYazar
- Created: 2017-07-24T09:46:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T22:01:47.000Z (almost 8 years ago)
- Last Synced: 2025-01-01T18:43:08.271Z (6 months ago)
- Topics: 0mq, command-line, python, zeromq, zmq, zmq-test-suite
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zcat
Zeromq test tool for sending / receiving data with usefull features...## USAGE
usage: zcat [-h] -t {sub,pub,req,rep,push,pull,pair} -c {bind,connect} [-l] [-v] [-s] [-n N] [-st SUBSCRIBE_TOPIC] [-m MESSAGE] [-d DELAY] -a ADDRESS [ADDRESS ...]
-t, --socket-type Socket type [sub,pub,req,rep,push,pull,pair]
-c, --connection-type Connection type: bind or connect
-a, --address Socket bind or connect addresses. You can add more than one address
-l, --listen Test for listen data
-s, --send Send message
-v, --verbose Verbose send and receive data to output (stdout)
-n, --n N times loop same operations
-m, --message Message for send to zmq socket
-st, --subscribe-topic Topic filter for subscibe, Note: This filter prepend to publisher message
-d, --delay Delay as second between send or receive operation [0.5, 1, 2.3]## EXAMPLE
```bash:
./zcat -t pub -c connect -a "tcp://127.0.0.1:9091" -s -m "zmq message" -n 100 -st -v "xxx"
```
publisher sends 100 times "zmq message" to tcp://127.0.0.1:9091 address.## LICENCE
The MIT License
Further resources on the MIT License
Copyright 2017 İlter Engin KIZILGÜNPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.