After the program has exited, using netstat -ng will show an active subscription for the multicast groups used during execution. These subscriptions will stay present until a restart.
Suspect this is because to terminate, a ctrl-c is required so the program doesn't gracefully shutdown notifying the OS that the group subscription is no longer required and emit IGMP leave messages.
After the program has exited, using
netstat -ngwill show an active subscription for the multicast groups used during execution. These subscriptions will stay present until a restart.Suspect this is because to terminate, a ctrl-c is required so the program doesn't gracefully shutdown notifying the OS that the group subscription is no longer required and emit IGMP leave messages.