Project

nng

0.0
No release in over a year
Ruby bindings for nng (nanomsg-ng).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

RBNNG - nng for ruby

nng is a lightweight, broker-less messaging library. This gem provides an API to interact with nng using a Ruby C extension.

Installing

  1. Install nng (consult your distro). If using Homebrew

    brew install nng
    
  2. If nng is installed outside of $PATH, you can specify its location.

    e.g. for homebrew on linux

    gem install nng -- \
       --with-nng-lib=$HOME/.linuxbrew/Cellar/nng/1.5.2/lib \
       --with-nng-include=$HOME/.linuxbrew/Cellar/nng/1.5.2/include
    

    Use gem install nng --pre if trying to install an unreleased version.

Examples

Examples can be found under the demos directory.

Todo

  • General

    • Better error handling
    • Add configuration options
  • Protocols

    • Req0/Rep0
    • Pair0/Pair1
    • Pub0/Sub0
    • Bus0
    • Survey0
    • Pipeline0