eclipse-zenoh / zenoh-go

Go-lang API for zenoh
http://zenoh.io
Other
13 stars 4 forks source link

The locator parameter is ignored when calling Session.Open(locator) #11

Closed JEnoch closed 4 years ago

JEnoch commented 4 years ago

This can be reproduced using the zn_info example with a zenoh router running on localhost:

$ go run examples/zenoh-net/zn_info/zn_info.go -l tcp/demo.zenoh.io gives:

Opening session...
LOCATOR :  tcp/127.0.0.1:7447
PID :      32f0bb0b1bdd75d3
PEER PID : 65e9841ed444478da7b20108271b643f

We see in logs that the locator tcp/127.0.0.1:7447 was used instead of tcp/demo.zenoh.io