log.trace("joined " + group_addr + " on interface " + i.getName() + " (" + addr + ")"); break;
log.trace("joined " + group_addr + " on interface " + i.getName()); } catch(IOException e) { log.warn("failed to join " + group_addr + " on interface " + i.getName() + ": " + e);
        private void bindToInterfaces(java.util.List interfaces, MulticastSocket s) throws IOException {            SocketAddress group_addr=new InetSocketAddress(diagnostics_addr, diagnostics_port);            for(Iterator it=interfaces.iterator(); it.hasNext();) {                NetworkInterface i=(NetworkInterface)it.next();                for(Enumeration en2=i.getInetAddresses(); en2.hasMoreElements();) {                    InetAddress addr=(InetAddress)en2.nextElement();                    s.joinGroup(group_addr, i);                    if(trace)                        log.trace("joined " + group_addr + " on interface " + i.getName() + " (" + addr + ")");                    break;                }            }        }