hola
hola copied to clipboard
Service.fromName(String) does not work with "nested" service names like _services._dns-sd._udp
Service.fromName("_services._dns-sd._udp") (request all services) throws the following exception:
Exception in thread "main" java.lang.IllegalArgumentException: A Service's name can't be null or empty
at [email protected]/net.straylightlabs.hola.sd.Service.<init>(Service.java:52)
at [email protected]/net.straylightlabs.hola.sd.Service.fromName(Service.java:44)
at XXXX/XXXX.main(XXXX.java:34)