Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

前端 未结 9 1547
清酒与你
清酒与你 2020-11-27 13:39

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

相关标签:
9条回答
  • 2020-11-27 14:08

    mdnsjava is a project that provides mDNS and DNS-SD support for dnsjava (dnsjava.org). Unlike many of the DNS-SD java implementations mdnsjava supports full mDNS DNS RR resolution, not just the resolution of services.

    https://code.google.com/p/mdnsjava/

    0 讨论(0)
  • 2020-11-27 14:10

    Unless your goal is to announce service availability to other mDNS compatible applications or to consume mDNS services from other applications, it might make more sense to implement your own broadcast-based service discovery.

    0 讨论(0)
  • 2020-11-27 14:10

    dns_sd.jar on windows works fine, download from Apple (SDK for windows). Beware of reinstallations of Bonjour because they tend to overwrite the Program Files/Bonjour directory containing the dns_sd.jar. Airfoil from Rogue Amoeba is one example on this, however they claim to use the Apple original installer.

    dnssd.jar on OSX works fine, but is no longer included in the latest Java releases as Oracle has taken over responsibility. However, the file is still on the disk since the 1.6 Java of Apple is on the disk. Just find the file and move it to /externals folder in your latest Java. So it is quite funny-idiotic that Apple provides a well functioning SDK for Windows implementation of Java DNS SD, while not offering anything at all for their own OSX. I anticipate that this is simply the result of hating Java too much over at Apple?

    But, does anyone know of a Java implementation of the airtunes protocol; the latest version used in today´s Airport Express and Apple TV, being NOT the same version as used in earlier models of Airport Express ?

    I know of qTunes, but it does not work with latest Airtunes versions. (I could get it to work with Rogue Amoeba´s Airfoil speakers for Mac OS X)

    I am not monitoring this thread, but can be contacted at chj@hdsoundlab.com for practical questions.

    0 讨论(0)
提交回复
热议问题