Referring to issue #175 seem that multicast hops are not setted properly when using UDP6.
Looking at the code seems that the same socket (pollfds[0]) is used for both unicast and multicast (UDP6Port::broadcast) communication but the socket option for hops are only setted on socket in pollfds[1].
Referring to issue #175 seem that multicast hops are not setted properly when using UDP6.
Looking at the code seems that the same socket (pollfds[0]) is used for both unicast and multicast (UDP6Port::broadcast) communication but the socket option for hops are only setted on socket in pollfds[1].
I solved doing:
in MQTTSNGateway/src/linux/udp6/SensorNetwork.cpp
but another solution can be adding the
on the unicast socket.
Hope this help others