Questions tagged [bonjour]

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.

566 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,315
  • 7
  • 57
  • 109
61
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
  • 9,072
  • 17
  • 84
  • 170
46
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
  • 15,951
  • 26
  • 80
  • 112
39
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
  • 493
  • 1
  • 5
  • 6
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
  • 24,215
  • 30
  • 84
  • 131
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
  • 11,923
  • 24
  • 70
  • 82
26
votes
5 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
  • 44,003
  • 31
  • 133
  • 171
25
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
  • 63,456
  • 96
  • 348
  • 677
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,203
  • 1
  • 13
  • 18
22
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,066
  • 4
  • 15
  • 32
22
votes
4 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,359
  • 14
  • 52
  • 97
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,161
  • 14
  • 20
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,929
  • 10
  • 43
  • 71
17
votes
3 answers

iPhone: Bonjour NSNetService IP address and port

Excuse my iPhone/Objective-C newbie status please! I've found my HTTP server using NSNetServiceBrowser, but now I just want the IP address and port of the service found. I've got something like the following in my delegate method: NSNetService*…
nikkumang
  • 1,575
  • 2
  • 16
  • 34
16
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
  • 263
  • 2
  • 6
1
2 3
37 38