Questions tagged [jmdns]

JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.

JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.

The Zeroconf working group is working towards zero-configuration IP networking. Multi-cast DNS and DNS service discovery provide a convenient way for devices and services to register themselves, and to discover other network-based services without relying on centrally administered services.

Java as a language is not appropriate for low-level network configuration, but it is very useful for service registration and discovery. JmDNS provides an easy-to-use pure-Java mDNS implementation that runs on most JDK1.6 compatible VMs.

122 questions
1
vote
1 answer

Android AVD unable to notice JmDNS services

I've had some difficulty getting JmDNS to work with my Android AVD. I've created 3 applications. An Android application which registers a ServiceListener and logs any activity, A Java application which does the same as the android application, and…
John
  • 11
  • 2
1
vote
1 answer

Google Anymote Discovery Identification String

According to the Google Anymote Protocol documentation, a GoogleTV device can be discovered by sending mDNS packets. A GoogleTV device should respond by identifying itself with the string "_anymote._tcp.local". However, when I send out a mDNS…
Steve
  • 53,375
  • 33
  • 96
  • 141
1
vote
1 answer

Unable to Destroy Android Activity

I'm getting and error that states the app is unable to destroy the activity private JMDNSService jmdnsService = null; @Override public void onDestroy() { super.onDestroy(); jmdnsService = null; // destroy this object so we don't keep…
user268397
  • 1,917
  • 7
  • 38
  • 56
1
vote
1 answer

List JmDNS Services in Android App

I'm trying to list some JmDNS services that I discover in my Android app and whenever I call this method my app crashes in the emulator? I tried commenting out blocks of code and code inside methods and it still crashes on the emulator. Anybody…
user268397
  • 1,917
  • 7
  • 38
  • 56
1
vote
1 answer

JmDNS Error - The method getInetAddresses() is undefined for the type ServiceInfo

For some reason it doesn't like the getInetAddresses() method in the lines: Enumeration additions = (Enumeration) ev.getInfo().getInetAddresses(); if (ev.getInfo().getInetAddresses() != null && ev.getInfo().getInetAddresses().length > 0) { …
user268397
  • 1,917
  • 7
  • 38
  • 56
1
vote
0 answers

JmDNS 3.4.1, does it support IPv6?

Does JmDNS 3.4.1 support IPv6? when I register a service with an IPv4 I can see it on other machines, but if I use an interface with an IPv6 address, I don't :( Also, I get No support for IPv6 in jSLP yet (see https://bugs.eclipse.org/328074),…
mimou
  • 81
  • 1
  • 6
1
vote
0 answers

Broadcasting device using jmDNS

I'm currently trying to have my device (program) show up as a mock chromecast on the network. The application itself can see the Mock-Caster as a chromecast but if i try searching for it using Youtube or any other sender app, the "Mock-Caster" does…
1
vote
1 answer

Neighbor Discovery?

Hello, In order to get a list of the surrounding nodes announcing services in an IP network, I was trying to use Bonjour from Apple. However, I couldn't get an…
maro
  • 53
  • 9
1
vote
3 answers

Locate services using Zeroconf with JmDNS on local device AP(hotspot)

With my android device set up as a hotspot/Access point(AP), how can I use JmDNS(3.4.0) to find other devices connected to this AP? Using a regular AP everything works fine when creating the JmDNS instance the normal way; jmdns =…
Petrus
  • 2,611
  • 3
  • 21
  • 21
1
vote
1 answer

Implementing JmDNS on Android/Multithreading

I am trying to get JmDNS to work in my android program. I am able to get it to discover the devices I want, but I do not fully understand how to get the information from JmDNS to the object that started the JmDNS task. Here is my code. protected…
Sam
  • 33
  • 1
  • 5
1
vote
1 answer

Discovering all services on the network using jmDNS on Android

I'm using the jmdns.jar from this project https://github.com/twitwi/AndroidDnssdDemo in my Android project. I'm currently trying to find all services on my network. I can't use Android NSD, so please avoid suggesting it as a solution. protected…
David
  • 31
  • 4
1
vote
1 answer

JmDNS doesn't announce on Raspberry

I have trouble getting JmDNS up and running on Raspberry Pi device. The application works fine on all kinds of x86 Linuxes but when started on Raspberry (running "Raspbian GNU/Linux 8 (jessie)") services announced by it are invisible. Services…
synapse
  • 5,588
  • 6
  • 35
  • 65
1
vote
0 answers

jmDNS ServiceListener triggers after being removed

I used jmDNS to find some services on wifi network. The problem is that sometimes after service is resolved, and I remove this listener, it triggers again with serviceResolved() method. jmDNS 3.4.1 private static JmDNS jmDNS; private static…
Nik Kober
  • 868
  • 11
  • 16
1
vote
0 answers

Resolve raspberrypi.local to ip address in javascript using mdns-js

I have a Raspberry Pi that is connected to my network and a Samsung Gear S that is connected to the same network. The Raspberry Pi is used as a server and the Gear S sends data to it. I currently need to insert the Raspberry Pi IP address manually…
Tim
  • 445
  • 5
  • 19
1
vote
1 answer

JmDNS - Register the same service in multiple machines

I am using JmDNS to register a service in a couple o machines that are under the same subnet in my network. However, every time that a second machine goes up and tries to register the service, its name is automatically changed to something like…
tsukanomon
  • 1,220
  • 1
  • 19
  • 23
1 2 3
8 9