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
3
votes
1 answer
Can I discover other iOS devices over Bluetooth while in the background?
I would like to be able to discover other iOS devices over Bluetooth while my application is in the background. Is it possible to use Bonjour or Game Kit to do this discovery while my application is not in the foreground?
Would it be possible to…
user141302
3
votes
3 answers
How can I implement DNS - Service Discovery in Unity3D similar to Bonjour browser
I want to implement a service discovery module to fetch the IP address of a service broadcasting device, similar to the bonjour browser. Is it possible to implement it in Unity3D(Android/iOS). Can anyone guide me on how can I achieve it. A small…

TUSHAR KHAVALE
- 51
- 6
3
votes
0 answers
Airplay Txt Record
I'm publishing a NetService for Airplay in an iOS app, but am unsure if I have my txt record correct. Specifically, I'm not sure what the pk and pi values are suppose to be.
Here's the txt record I'm using:
{
deviceid = "xxxxx";
features =…

Jake
- 13,097
- 9
- 44
- 73
3
votes
1 answer
Bonjour Service Browser with Swift does not fetch serviceinfo
The service I want to connect to is published via Bonjour.
I can find all the info with the Bonjour Browser, however if I try to gather the data programmatically, the only value I get, is the name of the service.
The NetService delegate is set and…

Rufus_12
- 392
- 1
- 5
- 14
3
votes
1 answer
inconsistent result from bonjour service in iPhone
In my iPhone/iPad app there is need to display list of devices connected the my router. Please refer the image the as shown below.
But problem is I do not get consistent result for example sometimes bonjour will detect 3 devices where-in actually…

sia
- 1,872
- 1
- 23
- 54
3
votes
0 answers
Regarding bonjour domains
I'm trying to understand how the choice of the bonjour domain will influence device discovery on the network. I find the documentation somewhat unclear on some points, and would like to ask for clarification.
From here:
Most network service…

André Fratelli
- 5,920
- 7
- 46
- 87
3
votes
1 answer
iOS Simulator refuses to connect to local. hostname
I am working on an iOS app that connects to a web service. For development and testing, we use Bonjour to find servers on the local network, and during sign-in the app offers to connect to one of them instead of the production site.
Since upgrading…

benzado
- 82,288
- 22
- 110
- 138
3
votes
2 answers
What is the _acp-sync._tcp bonjour service for?
When I browse my home network with a bonjour browser, I see this _acp-sync._tcp bonjour service beeing advertised by all my AirPort base stations. Can anyone give me any insights on what this is for?

Monobono
- 780
- 10
- 24
3
votes
1 answer
iPhone SDK: Bonjour & NSNetService name != published name?
In my iPhone app, I'm publishing a bonjour service and using the following delegate method:
- (void)netServiceDidPublish:(NSNetService *)ns
{
NSLog(@"Bonjour Service Published: http://%@.%@", [ns name], [ns domain]);
}
The "name" property is…

memmons
- 40,222
- 21
- 149
- 183
3
votes
1 answer
Can't run node.js module mdns in node webkit application
I have a node webkit application that uses the mdns module for publishing a Bonjour service from a Mac (with Mavericks). When I run the server code with node server.js everything works OK, but when running the node webkit application that uses the…

Carla
- 205
- 3
- 10
3
votes
2 answers
Using NSNetService and NSNetServiceBrowser on a Swift application
I'd like to make an app that is able to discover and connect to peers on the local network, so i've decided to implement it in swift, using the bonjour framework.
However, i can't make Bonjour work using Swift, and I can't figure out why. Here is…

jbl
- 33
- 1
- 4
3
votes
4 answers
Which programming languages can I use to write a Bonjour software?
Am I really restricted by programming languages? I can imagine that, to use Bonjour, I need to have special libraries which could be not available for any language. So, then I need to use those languages which have corresponding libraries. As the…

Roman
- 124,451
- 167
- 349
- 456
3
votes
5 answers
How to Share Files Between my iPhone App and a Mac/PC
I have developed an iPhone app which stores photos in the /Documents directory of my app.
I would like to add a feature which gives to the user the opportunity to transfer those pictures to his/her PC or Mac.
I don't really know how to do that.
What…

rmonjo
- 2,675
- 5
- 30
- 37
3
votes
1 answer
IPAddress from NSData using Bonjour NSNetService in MonoTouch?
I'm using Xamarin + MonoTouch on iOS to browse for a web server on the network that I can then download files from.
The NSNetService that is passed into the resolve event handler contains addresses as NSData. I can't find a good way to turn that…

Jason Champion
- 2,670
- 4
- 35
- 55
3
votes
1 answer
socket sendto get the error 22 during udp packets
I have written one client application , which uses the mdnsreponder for some service discovery . I have one requirement that my client IP will get change very frequently. whenever there is a change in the IP I need to do the discovery again .
So I…

indra
- 832
- 4
- 17
- 33