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
12
votes
3 answers
Using Google Oauth2 webflow from iOS + Bonjour (Yikes!)
I'm building an iOS app that requires the user to authorize Google API's via Oauth2 using the server side web flow. I currently open a UIWebView to start the oauth2 flow.
This works fine in the simulator because I'm setting the redirect URI to…

aloo
- 5,331
- 7
- 55
- 94
11
votes
3 answers
NSdManager ResolveListener Error Code 3: Failure Already active
I'm using NsdManager in an Android App to discover NSD services published by another device also developed by me. I only do service discovery on Android App (no service registration needed on this side). There are several instances of the same type…

DarkJediNinja
- 495
- 6
- 10
11
votes
4 answers
Can I trigger a mobile client to automatically launch a web browser when connecting to wifi?
Assume that you have complete programmatic control over a wireless router (running say OpenWrt or DD-WRT - linux). The router is configured to broadcast an ssid, and the network is wide open.
A mobile user (iPhone/Android/BB) walks up.
1) on iPhone,…

Rob
- 111
- 1
- 1
- 4
11
votes
1 answer
setting up iPhone P2P only over bluetooth and without GKPeerPickerController
I want to use a custom interface to connect with other iDevices in a p2p game. I know I can either use GKSession and GKSessionDelegate or use the lower level Bonjour browsing. But both of them will search for devices both over bluetooth AND wifi.
I…

Marco Mustapic
- 3,879
- 1
- 21
- 20
11
votes
5 answers
bonjour for iphone
I would like to know whether bonjour is a public or private api?Can we use it in our apps directly.

sneha
- 121
- 1
- 5
11
votes
4 answers
Is there a Bonjour SDK for Windows?
I want to know how to implement bonjour on windows, so that i can set up server on windows and access files in windows(server) using bonjour service from my iphone(client).
Can anyone tell me whether we have any java api for windows or any bonjour…

sneha
- 111
- 1
- 1
- 3
9
votes
1 answer
How to advertise a service using Bonjour across subnets?
I am familiar with the usage of Bonjour for advertising services on the "local" domain. I have worked through several examples, and I know the corresponding Cocoa classes I use for that.
I am curious about how I advertise a simple Bonjour service…

pj4533
- 1,701
- 4
- 17
- 38
9
votes
2 answers
How can I query .local bonjour DNS entries?
It's pretty straightforward to query out the guts of a DNS-SD entry via dig by asking your nameserver directly; but for multicast DNS, I'm not sure where to look.
Edit: My motivation is to be able to see example DNS entries so that I can better…

Nevir
- 7,951
- 4
- 41
- 50
8
votes
1 answer
How does Windows know how to resolve mDNS queries?
When you install Bonjour for Windows you can resolve any ".local" mDNS name from anywhere in the system.
For example, you can "ping some_computer.local" and mDNSResponder.exe (Bonjour/mDNS Daemon) will respond.
However, mDNS operates on port 5353 so…

SofaKng
- 1,063
- 1
- 11
- 32
8
votes
1 answer
How to install the dns-sd command line test tool on Windows or Linux?
The book Zero Configuration Networking - The Definite Guide by Stuart Cheshire and Daniel H. Steinberg from 2005 describes a dns-sd command line test tool which should be available for macOS, Windows and Linux. At the beginning of chapter 6 (p. 92)…

Vega180
- 779
- 2
- 5
- 22
8
votes
1 answer
MCNearbyServiceAdvertiser on macOS 10.13 (High Sierra) not working
I am trying to advertise a service with Multipeer Connectivity in macOS 10.13 as such:
override init() {
self.serviceAdvertiser = MCNearbyServiceAdvertiser(peer: peerID, discoveryInfo: nil, serviceType: serviceID);
super.init();
…

Horatiu Paraschiv
- 1,750
- 2
- 15
- 37
8
votes
0 answers
Android & iOS dns-sd: how to do a cross platform service discovery?
On Android I'm doing this way to create a service broadcast with a simple attacched map as info
HashMap record = new HashMap<>();
record.put("info, "my android info");
WifiP2pDnsSdServiceInfo serviceInfo =…

user3290180
- 4,260
- 9
- 42
- 77
8
votes
1 answer
Redirecting ".local" subdomain to unicast DNS
I regularly access Windows domains that have been set up to use a domain under the .local top level name. This conflicts with Bonjour/Zeroconf which reserves .local for it's own use. A number of platforms support Bonjour out of the box (including…

Jason Weathered
- 7,762
- 2
- 41
- 37
8
votes
6 answers
Codekit 2 doesn't resolve Bonjour Hostname after Yosemite 10.10 Upgrade
After upgrading to Yosemite 10.10 via the AppStore (no new/clean install), I get a blank page when previewing a website with Codekit 2. In the "Server" tab the Bonjour Hostname in my case "lukas.local" is missing since the upgrade…

Lukas Hillebrand
- 390
- 5
- 20
8
votes
3 answers
Trying to discover iOS devices on my network using python script
Trying to use pybonjour but not sure if it is what I need. https://code.google.com/p/pybonjour/
I want to be able to discover iOS devices that appear on my network automatically, will be running a script later on based on this, but first I want to…

Matt.
- 1,043
- 1
- 12
- 20