Question on adding/deleting multicast routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have an application listening on a multicast socket. The multicast
stream is always present on the wire, to avoid getting confused by
IGMP. If I add a multicast route and then start the application
everything works fine. However, if I first start the application and I
then add a multicast route, the traffic is not seen.

Similarly, after adding the route and starting the application, if I
then remove the route the application still sees the stream.

I have tried flushing the routes cache but the behaviour seems not to
be affected by the cache. Also, restarting the networking service
doesn't help. Restarting the application works, I guess because the
sockets are reopened.

Is there a way to have the addition/deletion of routes have effect
without having to reopen the sockets?

Thanks,
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux