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
8
votes
1 answer
Android Wifi Direct Service Discovery
I'm trying to implement a simple android application that broadcasts a WifiP2p bonjour service on one device and have a second device discover and connect to it. I've pretty much followed the tutorial here.
I have a valid Channel object, a…

Greg Neiheisel
- 590
- 4
- 12
8
votes
1 answer
Bluetooth Communication between OSX and iOS
I'm working on an application that does does lots of iOS <--> OSX communication. For the most part I have this solved.
I'm using CocoaPort to do the communication. Over Wifi this worked nicely and was plenty fast.
I'm using Bonjour to find my…

Tim
- 4,560
- 2
- 40
- 64
8
votes
2 answers
How to resolve a Bonjour domain name with JmDNS
As part of an app I'm developing, I need to be able to resolve the correct IP that corresponds with a Bonjour hostname.
For example, I'm given jack.local and need to resolve it to 192.168.1.141 which is the IP address associated with jack.
I've been…

Jake
- 283
- 2
- 6
7
votes
1 answer
Bonjour/DNS-SD on Windows
I'm currently working on a cross-platform application (Win/OSX/iOS) which has a C++ (with Boost) back end. On iOS and OSX I'm using the Cocoa Net Service Browser Delegate functions to discover an embedded device via mDNS, then pass the information…

Redeye
- 1,582
- 1
- 14
- 22
7
votes
2 answers
NSNetServiceBrowser didRemoveService takes longer after opening stream
I have the following code for discovering services on the network:
[netServiceBrowser setDelegate: self];
[netServiceBrowser searchForServicesOfType: serviceType inDomain: domain];
That results in calls to these two methods (find service and…

Yvo
- 18,681
- 11
- 71
- 90
7
votes
4 answers
Bundling Apple's Windows Bonjour installer into our msi
I've been asked to bundle Apple's Bonjour installer into our own msi installer, so that Bonjour automatically gets installed alongside our software. Anyone done this before? It doesn't seem to be trivial, as an msi installer cannot include and kick…

Tom Davies
- 2,386
- 3
- 27
- 44
7
votes
2 answers
How can I create a small Mac app that receives data over the WiFi network from an iOS app?
What I need is to have a simple screen in this Mac app that just prints a string as the iPhone is transmitting strings through the WiFi network.
This string is simply a string value from a slider being adjusted up and down by the user on the iPhone.…

Pavan
- 17,840
- 8
- 59
- 100
7
votes
1 answer
What to choose for data share in same wifi network: Multipeer, Bonjour, Socket connection
I am working on data share over same wifi two/more iOS devices.I have successfully implemented it using multipeer networking and explored it from videos documents.I am just looking on apple Dev for difference between Bonjour vs Multipeer Networking.…

maddy
- 4,001
- 8
- 42
- 65
7
votes
0 answers
Get connected service name using NSStream's and Bonjour based NSNetServices peer to peer
I have a problem with obtaining a connected service name on the other device. I am using NSNetServices based on Bonjour and input and output streams for peer to peer connections. I have an iPhone and iPad device. When I try to connect to the iPad…

piotr_ch
- 508
- 3
- 7
- 17
7
votes
2 answers
Using Apple’s Bonjour service from .NET?
I have an iPhone app that publishes through Bonjour. The Mac counterpart works, they sync and exchange data. Now I have to port that little Mac app to Windows. I’ve decided to go with .NET (because that’s what I know).
The app is not complex, but…

Martin Marconcini
- 26,875
- 19
- 106
- 144
7
votes
3 answers
How to send multicast messages and reuse a port in Erlang?
I have gotten a good start on my program, my first REAL Erlang program.
I have it listening for messages, reading them and parsing them. I also have it sending them.
The one little thing that is bothering me is I can't SEND on Port 5353, I have…
user177800
7
votes
2 answers
What are the best options for NAT port forwarding?
I'd like to make it easy for users to forward a port on their NAT to their local machine for my C++ app. I'd like to make this work on OSX & Windows. Linux would be a great bonus, but Linux users are probably more comfortable forwarding ports…

twk
- 16,760
- 23
- 73
- 97
7
votes
2 answers
Why does mDNS (Bonjour, Avahi, etc) use UDP?
It seems to me that a lot of the problems with DNS, particularly security problems, have the root cause of DNS being implemented over UDP; for example the responder doesn't have to be who he says he is.
I don't know the details of mDNS protocol…

Chad
- 2,064
- 1
- 22
- 29
6
votes
1 answer
Avahi dns_sd compatibility layer fails to run Browse callback
Background
I'm working on a cross-platform Zeroconf/Bonjour/DNS-SD library for Haskell, and figured my best bet would bet would be to target the dns_sd.h API. Under Linux, the implementation of this interface is provided by Avahi, which claims to…

acfoltzer
- 5,588
- 31
- 48
6
votes
1 answer
iOS Bonjour Over the Internet
I know that iOS's Bonjour implementation (NSNetService, NSNetServiceBrowser) work out of the box on local networks.
The documentation says it is possible to set up a Bonjour DNS server to allow connecting users over the internet, so my questions…

sternr
- 6,216
- 9
- 39
- 63