you can join a multicast group on a specific interface only. This is part of the JDK api.