Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
250 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 ...
Dev0ps's user avatar
  • 71
0 votes
1 answer
787 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....
Arun Ganessh's user avatar
2 votes
1 answer
1k views

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 ...
David's user avatar
  • 41
0 votes
0 answers
280 views

JmDNS does not work properly

At the moment i am working with the version 3.4.1 from the sourceforge page. I tried all the simple examples for registering and resolving the services. My problem is that my ServiceListener is just ...
Syy0n's user avatar
  • 21
1 vote
1 answer
243 views

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)") ...
synapse's user avatar
  • 5,658
1 vote
0 answers
286 views

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 ...
Tim's user avatar
  • 437
0 votes
1 answer
440 views

Network configuration for JmDNS on Android. Service added but not resolved

I am having trouble resolving mDNS services using JmDNS on Android. The service resolves occassionally but most of the time only serviceAdded() is called and not serviceResolved()! Does anyone know ...
JohnyTex's user avatar
  • 3,442
0 votes
0 answers
292 views

Discovering local server connection via LAN using Android

I am trying to discover local server(apache tomcat) running on http://localhost:8080 through my android device.To achieve that i thought of using jmdns library from heere but i am really confused ...
anshul's user avatar
  • 992
2 votes
1 answer
1k views

Android hostname not recognised when creating TCP socket

Hi all I have been struggling with this for a while now and cannot find a solution. In java this code works: InetAddress serverAddr = InetAddress.getByName("myservice.local"); Socket socket = new ...
vallllll's user avatar
  • 2,751
0 votes
1 answer
626 views

Android networking in WAN

So i'm creating services with jmdns and i can access them from local area network from aadress 192.168.0.101:9999/servicename (note that 192.168.0.101 is my android phone localIP). Now if i want to ...
Pätris Halapuu's user avatar
5 votes
1 answer
2k views

jmdns registers on IPv4 interface, but broadcasts IPv6

So I am trying to use jmdns on Android 3.2.1 (HTC Flyer) and I am using jmdns for service discovery. Everything works nicely except that one of my three devices (rest of them work fine) is ...
siemanko's user avatar
  • 1,399
0 votes
2 answers
2k views

Multicast packet not reaching phone from ethernet

I am unable to send a udp multicast/broadcast packet, from a laptop 'wired' to a wifi router, to an android phone connected to the same router wirelessly. It works the other way round(phone to laptop)....
madridista's user avatar
9 votes
2 answers
6k views

Network Device Discovery

For my Android app, users need to connect to a server that will be hosted somewhere on the same LAN. There can be multiple servers hosted on the same LAN. To make it easy for the user, I was going ...
telkins's user avatar
  • 10.5k