Skip to content

azawawi/swift-zmq-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroMQ Examples for Swift

Swift Platform License

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

Ahmad M. Zawawi

License

MIT License

About

ZeroMQ Examples for Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published