From: Thomas LAURENT <tlaurent@si...> - 2013-02-25 16:31:39
I have to say that you, Arthur and Rick did a great job with JmDNS.
Currently, I am developping an Android application for home automation
with JmDNS. I have to follow some rules in order to communicate with
other devices, and, naturally, something goes wrong a device:
I have to format the Service name to end with ".local" , here is the
declaration I wrote :
serviceInfo = ServiceInfo.create("_mydevice._tcp.local.",
"P-000422334455-mydevice.local", 8080, 0, 0, true, properties);
When i use avahi-discover, the domain is incorrect, the ".local" is now
a the beginning of the domain name:
Found service 'P-000422334455-mydevice' of type '' in domain
I am trying to resolve this by making some code in
decodeQualifiedNameMapForType of ServiceInfoImpl.java, but it still
doesn't look good (i'm using jmdns 3.4.1).
Please, could you give to give me a hand on this, Is there another part
in the code that i should modify ?
Thanks a lot !