Question on adding/deleting multicast routes
From: Alex Gonzalez
Date: Fri Jun 26 2009 - 08:55:59 EST
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