Can the multicast sender receive it from the router instead of the ip_layer loop?

I am trying to multicast messages from one device to many and I have a problem with the loopback function in IP_LAYER.

My goal is that all devices should receive the message more or less at the same time, but the sender of the multicast will get the message first, because it loops on IP_LAYER.

I want the sender to receive the message from the router like all other devices on the subnet. Is it possible?

If I disable IP_MULTICAST_LOOP on the socket, the sender doesn't receive the message at all. I was hoping this setting just turned off loopback.

Can it be done in any other way, I have also tried broadcasting. But this also uses the loopback function IP_LAYER.

+3


source to share





All Articles