I have read: Nanomsg multicast bandwidth issue
But I don't need true multicast IP (e.g. 239.0.0.0:3000) I also have a very light load. So I am not that concerned about backpressure.
Yes, I could use the bus paradigm. But say I want to test first with the pubsub.
What would be the sender use as the send to url for tcp to send to multiple clients?
(I am actually using the next gen nanomsg):
https://nanomsg.github.io/nng/man/v1.0.0/nng_tcp.7.html
Can I send to tcp://*:3000
Can I bind the subscribers to that address?
The info that I have gotten from gdamore seems to indicate that one cannot use tcp://*:3000 since you need to bind the producer/publisher to some interface. However, a fixed endpoint I now have 1-1 publisher to subscriber working over tcp.
(this was discussed in: https://www.freelists.org/post/nanomsg/does-nanomsg-support-multi-producer-in-pubsub-mode,10 )
Now that I see that multicast is not really possible (until UDP transport is allowed) I have revised my question and put it in the context of my final solution. See: