Skip to content

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

@ritzow

Description

@ritzow

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 hola@0.2.3/net.straylightlabs.hola.sd.Service.<init>(Service.java:52)
	at hola@0.2.3/net.straylightlabs.hola.sd.Service.fromName(Service.java:44)
	at XXXX/XXXX.main(XXXX.java:34)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions