nanomsg

Nnanomsg bus routing support?


I have been using NNG (C++) - now I need to write a C# plugin to read the NNG NanoMSG messages. But I am moving from pub/sub to a bus/mesh protocol. e.g.

https://nanomsg.org/gettingstarted/bus.html

  1. Does nnanomsg support that?
  2. What switches on the socket (options do I need) e.g. NN_BUS? NN_SOL_SOCKET?

Solution

  • Don't know why the question should be marked negative. Although no one answered, I went implemented it with: https://github.com/mhowlett/NNanomsg

    and the answers to the questions are:

    1. Yes NNanomsg works fine with C++ NNG
    2. Yes it has no problem with BUS protocols, and there are examples in the github.