hola icon indicating copy to clipboard operation
hola copied to clipboard

Service.fromName(String) does not work with "nested" service names like _services._dns-sd._udp

Open ritzow opened this issue 5 years ago • 0 comments

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)

ritzow avatar Jan 06 '21 03:01 ritzow