zeroc-ice / datastorm

Data centric pub/sub framework based on Ice
GNU General Public License v2.0
13 stars 7 forks source link

demos/cpp/clock does not work with localhost without any network #14

Open zengdaiwei opened 2 years ago

zengdaiwei commented 2 years ago

when I disconnected any network(wifi, local lan), I just can not make the demos/cpp/clock or minimal work with only localhost(loopback). I tried to change reader.config, writer.config, but can't figure it. I searched through the datastorm docs, no solution. I tried to switch off firewall, but it still does not work. Hope for some help, thanks.

I am using Windows10 with VisualStudio2019.

zengdaiwei commented 2 years ago

What I want to do with DataStorm is to use it as a way of IPC without any network.

bentoi commented 2 years ago

You should be able to achieve this by explicitly setting the DataStorm.Node.Server.Endpoints property. For example if this set DataStorm.Node.Server.Endpoints="tcp -h 127.0.0.1:tcp -h 192.168.1.169, the node will listen on both the loopback and TCP interfaces and should be able to use both.