I’ve made an application that joins to a spesific multicast group and visualises the data received. The app works fine in JAVA-mode and also in Android mode.
The problem is, that if the wlan-network is created from the same device in which the receiving client application is running, the data is not received (in practice creating when creating a hotspot). In case there is a separate device (eg. another phone/hotspot or router) providing the network, there are no problems.
I’ve understood that it is a question of somehow binding the client’s multicast group to a specific adapter. A term “multicast lock” might be related to this topic. I’ve not been able to find a solution.
I’m completely unfamiliar with java, having a c+±backgound.