Questions tagged [mdnsjava]

The Multicast DNS (mDNS) [RFC 6762] & DNS-Based Service Discovery (DNS-SD) [RFC 6763] in Java (mdnsjava) project is an extension of dnsjava (dnsjava.org) that implements Multicast DNS (mDNS) [RFC 6762] and DNS-Based Service Discovery (DNS-SD) [RFC 6763] in Java (aka. Bonjour in Java)

Unlike other mDNS/DNS-SD implementations mdnsjava does not artificially bind the mDNS and DNS-SD functionality into a single API, instead treating each as a separate feature that is independent from, but related to, the other. This allows clients to use Multicast DNS (mDNS) RFC 6762 for name resolution without having to worry about service discovery and simplifies the use of DNS-Base Service Discovery using plain old Unicast DNS (mDNS can be used as a substitiute for DNS for name resolution and DNS can be used as a substitute for mDNS for service discovery).

https://github.com/posicks/mdnsjava

http://posicks.github.io/mdnsjava/

3 questions
5
votes
2 answers

DNS-SD: Experience with "mdnsjava"?

I'm right now implementing the DNS-DS library "mdnsjava" into my Android-project as it's mentioned at several positions, for example here at SO: Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?. While implementing, I wonder…
Martin L.
  • 3,006
  • 6
  • 36
  • 60
2
votes
1 answer

Is there a working network service discovery example with mdnsjava?

Problem I'm trying to get started with network service discovery for my Java client/server application -- basically, I just want the client to find the server on the same ethernet segment without configuration. I'd like to provide for the future…
Autumn
  • 3,214
  • 1
  • 20
  • 35
0
votes
0 answers

How to capture mDNS packet using mdnsjava?

Basically, my network has a many device and they all broadcast the mDNS packet. I want to capture the packet and get IP address by parsing it. I tired using mdnsjava but i end up nowhere? Is there any way around for capturing mDNS packet.?
Hitesh Vaghani
  • 1,342
  • 12
  • 31