ZeroMQ Examples for Swift
October 6, 2016 ยท View on GitHub
This repository contains the ZeroMQ examples for the ZeroMQ Swift bindings. The code is written entirely in the Swift 3 language and can be run from the command line on Ubuntu and Apple's MacOS.
Usage
A convenience run.sh script is provided in the root directory to
build and run the examples.
- To display usage help, simply type:
./run.sh
Request-reply pattern
- To run the hello world client example (
hwserver), please type:
./run.sh hwserver
- To run the hello world server example (
hwclient), please type:
./run.sh hwclient
Publish-subscribe pattern
- To run the hello world client example (
rrclient), please type:
./run.sh rrclient
- To run the hello world worker example (
rrworker), please type:
./run.sh rrworker
Utilities
- To run the version example (
version), please type:
./run.sh version
Installation
Please check LibZMQ for installation instructions.
See Also
Author
License
MIT License