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
4
votes
2 answers
How to publish file server service to local network?
My question is about "automatic discovery of file server service on local network".
I want to implement a service which is file server basically and publish it on local network.
Client PC which is connected to local network should find this service…

Wonil
- 6,364
- 2
- 37
- 55
4
votes
1 answer
NSNetService call backs for IP change?
What is the best way to track an IP address of a netservice that may change? (switching back and forth between en0, en1 for example)
After calling startMonitoring, you get call backs when the TXT Record data changes, but I have found no obvious way…

Bob White
- 123
- 3
4
votes
1 answer
How to access WiFi network shares from iOS devices
I'm wondering how I can access files on a network share from iOS devices? I know that I can discover network shares using Bonjour protocol but how can I get a list of files&folders and download files? Should I use Apple Filing Protocol Is there any…

Dmytro
- 2,522
- 5
- 27
- 36
4
votes
2 answers
Bonjour in the Background?
I noticed that Pasteboard, a clipboard app for iOS, can run Bonjour service in the background. I've no idea how they implement that, so I searched on the Internet and then found that it plays a silent sound file when in background. But it is not…

nonamelive
- 6,510
- 8
- 40
- 47
4
votes
3 answers
Any sample project that shows how to use gamekit (server-client model) WITHOUT(!) GKPeerPickerController and more than 2 devices?
is there any sample project that shows how to use gamekit without gkpeerpicker? And is there any sample that uses bonjour (but without any internet connection and no wireless router)?
Some informations (for both projects):
only bluetooth (bonjour…

cocos2dbeginner
- 2,185
- 1
- 31
- 58
4
votes
1 answer
NsdManager discovery does not work on Android 9
I have tried for a good time now to get the NsdManager discovery function to work on Android 9. It works on any Android version prior to that without any problems.
For testing purposes I use this simple code snippet and there is a permission for…

pazi
- 251
- 2
- 8
4
votes
1 answer
iOS: NSSocketPort, where art thou?
The developer docs are full of references to NSSocketPort, which is supposedly part of the Foundation framework. However, I can't seem to find a header file for NSSocketPort in Foundation. My guess is that it is just Mac docs copied over to iOS, and…

Joseph Tura
- 6,290
- 8
- 47
- 73
4
votes
9 answers
Locate an iPhone reliably indoors?
I'm writing an app for a museum tour. I'd like my app to know where the user is in the building, if the user is standing in a particular room, in front of a particular work, etc.
GPS doesn't work inside. (Using WiFi positioning could work, but I…

Greg Maletic
- 6,225
- 8
- 54
- 73
4
votes
1 answer
How to check for success when writing with OutputStream?
I'm trying to write a sample about the Bonjour service and a simple socket I/O stream.
Sample
Git URL
What I can currently do, is:
Publish a service, and scan it.
Create an I/O stream socket between two devices or the simulator.
After the socket…

Webber Lai
- 2,014
- 5
- 35
- 66
4
votes
0 answers
NSNetServiceBrowser cannot find services whereas NsdManager discovering it for android
I have written my bonjour discovery code for service of type _coap._udp..
static NSString* kTRServiceType = @"_coap._udp.";
static NSString* kTRDomain = @"";
-(void) startBrowsing{
[self.serviceBrowser searchForServicesOfType:kTRServiceType…

Varun Mehta
- 1,733
- 3
- 18
- 39
4
votes
1 answer
How do we detect if wifi becomes unavailable in iPhone SDK
Is there any way that we can programatically identify when the wifi of a user becomes available/unavailable?
My application requires exchanging messages between two different devices. It is working good in stable wifi setups. But if the wifi is…

Nagamurali Manthena
- 41
- 2
4
votes
1 answer
List of Bluetooth devices on iPhone
I'm develop iphone app, what need connect to bluetooth device and handle disconnection of device.
I'm tryied to use ExternalAccessory framework, but it don't show any device (in settings I have paired A2DP device), on apple site I see "…

Stas Cherednichenko
- 55
- 6
4
votes
2 answers
How does Bonjour Over Bluetooth Work
Can anyone explain how bonjour works over bluetooth from iphone OS 3.0 onwards?
The documentation says the Bonjour API's used in the application just works even if Wi-fi is off and Bluetooth is on. It also says , a Bluetooth PAN is established and…

LALITHA C V
- 41
- 1
- 2
4
votes
1 answer
what is Bonjour?
I was watching wwdc videos this afternoon and I heard the word Bonjour .
So I just want to know what is Bonjour in Apple .
This is just to clear the concept .
Thanks

harshalb
- 6,012
- 13
- 56
- 92
4
votes
2 answers
Creating Bonjour services for the Finder
I am playing around a bit with Bonjour and for prototyping I use the Pybonjour library, which seemed to work like a charm for my first trials. However, when I try to create a service that is visible in Finder, I fail hard. I used this page as a…

Krumelur
- 31,081
- 7
- 77
- 119