Boost Asio Multicast

Georg Gast via Boost-users <[email protected]> Sun, 17 Dec 2023 17:16:23 +0100 (GMT+01:00)
Newsgroups gmane.comp.lib.boost.user
Message-ID <[email protected]>
Hi there,
I wrote an application that is to a good part based on
https://www.boost.org/doc/libs/1_83_0/doc/html/boost_asio/example/cpp11/multicast/receiver.cpp

https://www.boost.org/doc/libs/1_83_0/doc/html/boost_asio/example/cpp11/multicast/sender.cpp


It worked OK on my laptop as the packages arrived in my vm and my host. As we tried it on real machines the packages did not arrive. (all windows machines). With
*netsh interface ip show joins*
I could see on my laptop that the join was on the ethernet card. On the real machines it choose "the wrong" network card. I tried with "outbound_interface" to change it but didn't work...

It's all ipv4. Can or should I use a static route to get the packages into the right net segment?

Bye Georg

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users