info.server = host.name; info.addr = host.getInetAddress();
info.server = localHost.getName(); info.addr = localHost.getAddress();
    public void registerService(ServiceInfo info) throws IOException {        registerServiceType(info.type);                // bind the service to this address        info.server = host.name;        info.addr = host.getInetAddress();                makeServiceNameUnique(info);        services.put(info.getQualifiedName().toLowerCase(), info);                new /*Service*/Prober().start();        try {            synchronized (info) {                while (info.getState().compareTo(DNSState.ANNOUNCED) < 0) {                    info.wait();                }            }        } catch (InterruptedException e) {            //empty        }        if (debug > 0) System.out.println("JmDNS registered service as "+info);    }