Bonjour is Apple's implementation of Zeroconf, a service discovery protocol. It can be used to find services on a network and also to publish services to be found by other Zeroconf clients.
Questions tagged [bonjour]
578 questions
68
votes
2 answers
Using iOS GameKit's "Bluetooth Bonjour" with other platforms
I'm interested in connecting to iOS-based devices over Bluetooth. I can see that the "Local Network" service is exposed, but I cannot find any extra information about it. Property stored under key 0x0204 looks like a Bonjour key.
Which protocol is…

Ivan Vučica
- 9,529
- 9
- 60
- 111
64
votes
3 answers
Transfer data between iOS and Android via Bluetooth?
I've been reading up on how to transfer data between iOS devices over Bluetooth using GameKit. I'm not writing a game, per se, but do have a need to transfer a small amount of binary data between two devices. Between two iOS devices, this is easy…

Shadowman
- 11,150
- 19
- 100
- 198
48
votes
9 answers
Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?
Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

Mauli
- 16,863
- 27
- 87
- 114
40
votes
5 answers
How can I discover zeroconf (Bonjour) services on Android? I'm having trouble with jmDNS
I'm working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I'm unable to discover services using the one pure-Java zeroconf library I know of, jmDNS. (Apple's Bonjour, while it works on Linux and Windows Java, I…

Peter Kirn
- 503
- 1
- 5
- 6
30
votes
3 answers
How to route all subdomains to a single host using mDNS?
I have a development webserver hosting as "myhost.local" which is found using Bonjour/mDNS. The server is running avahi-daemon.
The webserver also wants to handle any subdomains of itself. Eg "cat.myhost.local" and "dog.myhost.local" and…

John Mee
- 50,179
- 34
- 152
- 186
30
votes
5 answers
Bonjour implementation on Android
I am trying to implement bonjour/zero conf on my android app. I am using jmDns library for searching the all the available devices. Here is the code that I am using for searching the devices in the same network:
public class ListDevices extends…

mudit
- 25,306
- 32
- 90
- 132
30
votes
3 answers
error: dns_sd.h: No such file or directory
I'm trying to build a demo project using Bonjour, following this tutorial, but i'm getting this error:
error: dns_sd.h: No such file or directory
It happens on this line:
#include
Where do I get that header file?

sashoalm
- 75,001
- 122
- 434
- 781
28
votes
3 answers
How can an iPhone access another non-iPhone device over wireless or Bluetooth?
I'm trying to figure out if an iPhone can connect to another non-iPhone device over wireless or Bluetooth and have seen conflicting information. Much of what I've found was before version 3.0 of the SDK came out, when it certainly wasn't possible.…

Tai Squared
- 12,273
- 24
- 72
- 82
25
votes
1 answer
Is Android NSD (Network Service Discovery) compatible with Bonjour service in iOS?
I will create a server-less local networking App for iOS and Android. the App in both iOS and Android devices should find out and talk to each other.
I know that there are platform built-in services (which are Bonjour in iOS and NSD in Android since…

Henry Leu
- 2,184
- 4
- 22
- 34
23
votes
5 answers
Bonjour Discovery in Javascript? Maybe?
So its a longshot, I'll start with that.
Is it/could it be possible to discover bonjour advertised HTTP services in javascript alone?
Why would this be useful? Imagine a local service looking after some data (eg your current lat/long), the data is…

JP.
- 5,507
- 15
- 59
- 100
23
votes
1 answer
Implementing the AirDrop protocol
I am interested in implementing AirDrop as a client on a device such as an iPad or Windows computer. Can anyone point me in the right direction for implementing the AirDrop protocol in either Python or C. Any help on this would be greatly…

petschekr
- 1,293
- 1
- 13
- 19
21
votes
3 answers
Bonjour over bluetooth WITHOUT Gamekit ?
I am wondering the possibility of directly using bonjour over bluetooth in iPhone OS 3.0 or later without using GameKit. Can anyone provide any examples ?

user353877
- 1,211
- 1
- 15
- 21
20
votes
2 answers
CFNetwork and Bonjour integration for iPhone to Mac integration
I want to use CFNetwork and Bonjour in conjunction to be able to have communications between my iPhone app and a Mac app. The app on the iPhone would have one button. Then on the Mac app, there will be a label. If the button is pushed on the iPhone…

objectiveccoder001
- 2,981
- 10
- 48
- 72
20
votes
1 answer
How exactly does mDNS resolve addresses?
Once a service is discovered through DNS-SD, how exactly does the address of that host get resolved, and does it take significantly more time/overhead?
Also, if I am using JmDNS or Bonjour there are call-backs for both serviceFound and…

ndc5057
- 860
- 4
- 9
- 17
19
votes
0 answers
Android NSD - hangs / runs forever - device specific?
I'm attempting to perform service discovery on my company's proprietary hardware device which hosts its own WiFi network and advertises a bonjour service over that network. When I'm connected to that WiFi network, I'm using NSD to discover that…

Ken Rothman
- 323
- 2
- 8