JmDNS: Can't resolve service

前端 未结 2 1215
一生所求
一生所求 2021-02-06 09:06

I\'m trying to implement JmDNS discovery for communication between an Android app and a desktop application. I have followed the following tutorial: http://home.heeere.com/tech-

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 09:20

    Checking out the latest source code version from the github repository did the trick. Discovering the service now works just fine on all devices. (Note: I was using JmDNS version 3.4.1 which I had downloaded from sourceforge before)

    Having skimmed through the SVN history, there seem to be a couple of commits related to problems with resolving services since the 3.4.1 release.

    Edit: Replaced svn with github repository since jmdns has moved there.

提交回复
热议问题