Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9219531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:08:14+00:00 2026-06-18T03:08:14+00:00

Since jmDNS does not support the service browse by subtypes, I went with cross

  • 0

Since jmDNS does not support the service browse by subtypes, I went with cross compiling the bonjour for android, and I followed the below steps.

  1. Cross compiled the mdnsresponder for android
  2. Wrote dns-sd client with jni wrapper that uses the above shared library that has 2 jni functions:
    1. One for calling the main loop
    2. Another for browsing the services
  3. I have written a java application with the wifi MulticastLock

But when I call the DNSServiceBrowse the error response I am getting is DNS service call failed -65563, “Background daemon is not running”.

Generally while running on the linux we start mdns daemon.

How do I fix this problem? Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:08:15+00:00Added an answer on June 18, 2026 at 3:08 am

    But when I call the DNSServiceBrowse the error response I am getting is DNS service call failed -65563, “Background daemon is not running”.

    You can’t run daemons within Android. See: Android daemon process

    In order to use the mdnsresponder in an embedded implementation, you must communicate with the mDNSCore directly. See the “How it Works” section of this ReadMe at [1].

    How do I fix this problem?

    Check out the “Note” section in mDNSEmbedded.h at [2] Basically rather than communicating through the daemon, you need to use the dnssd_clientshim.c at [3]. This allows you to "still use the preferred dns_sd.h APIs by linking in "dnssd_clientshim.c", which implements the standard "dns_sd.h" API calls, allocates any required storage using malloc(), and then calls through to the low-level malloc-free mDNSCore routines"

    Note: It appears that the dnssd_clientshim.c has some spelling errors and missing reference that will prevent compiling so you need to perform a patch when building (see [4] & [5]). It also appears you still need to include dnssd_clientlib.c when compiling or you’ll get build errors with TXTRecord function references.

    [1]
    [2]
    [3]
    [4]
    [5]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since Intellij does not yet support the Play-Scala-Template-Engine I was thinking about using plain
Since not all of our users are guaranteed to support the HTML 5 placeholder
Since Javascript does not have any functionality by itself to communicate over raw sockets
Since this morning, my certificate is not trusted anymore on Android and then my
since memcpy should be highly optimized nowadays, does it still make sense to optimize
Since regular jQuery animations are not fluent on iOS ( .hide() , slideDown() ),
Since the below got a bit long: Here's the tl;dr; version: Is there an
Since the Java doc tell me, not to use System.currentTimeMillis for comparison, I started
Since Android 4.2 if a user downloads some file in the browser the DownloadManager
Since URIs do not really refer to a web location, why do default namespaces

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.