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
122
questions
0
votes
0
answers
17
views
Struggling to incorporate service discovery using jmDNS for a messaging app
I am working on a P2P secure messaging app in Java, and I am starting with a broadcaster and a scanner to discover it. Unfortunately, the scanner fails to find my broadcast, and I know my broadcaster ...
0
votes
0
answers
26
views
JmDNS create() function not working on my device
I am getting a strange error when trying to use JmDNS and I have no idea what's causing it. If, for example, I copy-paste the example program seen on the JmDNS readme file into Eclipse and run it, the ...
2
votes
0
answers
191
views
Java jmDNS not able to discover services
Im trying to discover services broadcasted over mDNS on my local network. I use jmDNS java library, i am able to register services, that im able to see from my other devices. However, when i try to ...
1
vote
0
answers
81
views
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 ...
0
votes
1
answer
168
views
jmDNS works in Eclipse in Windows 11 but not in Eclipse in MacOS Monterey
I'm trying to work on an app abandoned in Sourceforge. It is called kmttg (look it up). It is a java app that allows Tivo owners to edit and change OnePass entries on their Tivo devices from a ...
1
vote
0
answers
169
views
Discover Android service from Windows 10
I want to be able to resolve a service on my Android phone from my Windows 10 computer. On the desktop I use the library JmDNS :
val SERVICE_TYPE = "_myservice._tcp.local."
val SERVICE_NAME =...
0
votes
1
answer
203
views
Interoperability of JmDNS with iOS Bonjour
I am using JmDNS to register a service and would like to discover it on iOS. I can discover the service using a JmDNS client as well as discovering several other services on the network. The problem ...
0
votes
1
answer
248
views
How to get jmDNS ServiceInfo description string
How to get description string of jmDNS ServiceInfo whitch we specify in 4 parameters of this overload:
ServiceInfo mServiceInfo = ServiceInfo.create(TYPE, SERVICE_NAME, PORT, DESCRIPTION);
What ...
2
votes
1
answer
3k
views
MDNS broadcast from within kubernetes?
I am using jmdns to broadcast a service over mdns which is then running as a docker image inside a kubernetes pod. The pod yaml looks something like this:
apiVersion: v1
kind: Pod
metadata:
name: ...
0
votes
1
answer
57
views
Host in multiple networks broadcasts wrong IP
I am working with JMDNS 3.5.4. My PC as well as other PCs are in multiple networks. I was wondering how to define the host-address (IP-address) which is broadcasted within the service.
I tried to ...
0
votes
1
answer
181
views
jmDNS Ubuntu IP Resolved Address is wrong
I am running a server on Ubuntu 18.04 that uses the jmDNS library for discovery. The code that initializes it is:
jmDNS = JmDNS.create(InetAddress.getLocalHost());
serviceInfo = ...
0
votes
1
answer
784
views
javax.jmdns lib is not getting imported.How to make the error clear?
These imports are showing error
import javax.jmdns.JmmDNS;
import javax.jmdns.NetworkTopologyDiscovery;
import javax.jmdns.ServiceEvent;
import javax.jmdns.ServiceInfo;
import javax.jmdns....
2
votes
1
answer
461
views
JmDNS service not found in ZeroConf browser
I'm developing a web app in Java (with Spark) and I want it to use JmDNS to be able to find this server in my Android app. I was following steps from JmDNS page with service registration, and my code ...
2
votes
1
answer
457
views
Android JmDNS how to remove service
im currently writing an android app, which should keep track of other devices in the same wifi network using JmDNS.
The discovery process works correctly, but i don't know how to keep track of other ...
0
votes
1
answer
453
views
Registering/Discovering custom jmDNS service type doesn't pass port
I'm trying to register and later discover a custom jmDNS service type, in part it works well but I can't extract the port number or host from the received data. It comes as 0 as host as null.
Service ...