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
16
votes
1 answer

After upgrading to Xcode 6.3, on launch I now get the error: "The Bonjour service could not be resolved."

After upgrading to Xcode 6.3, I now get an alert panel with the error: The Bonjour service could not be resolved. The server may be temporarily unavailable. Contact your system administrator. How can I fix this?
ktak
  • 596
  • 3
  • 9
16
votes
4 answers

Simplest way to publish over Zeroconf/Bonjour?

I've got some apps I would like to make visible with zeroconf. Is there an easy scriptable way to do this? Is there anything that needs to be done by my network admin to enable this? Python or sh would be preferrable. OS-specific suggestions…
Mark Harrison
  • 267,774
  • 112
  • 308
  • 434
16
votes
1 answer

How exactly does mDNS resolve addresses?

Once a service is discovered through DNS-SD, how exactly does the address of that host get resolved, and does it take significantly more time/overhead? Also, if I am using JmDNS or Bonjour there are call-backs for both serviceFound and…
ndc5057
  • 835
  • 4
  • 9
  • 17
15
votes
3 answers

Can I use Bonjour from command line?

Is it possible to use Bonjour from command line? For example if I want to register a service I type something like that: bonjour -register service_name port. And then Bonjour allocate a free IP for my service. Or, for example, if I want to see a…
Roman
  • 97,757
  • 149
  • 317
  • 426
14
votes
2 answers

any way to detect iPads or iPhones on wireless network? bonjour?

I am trying to detect Apple devices connected to a wireless network. This is relatively simple using Bonjour, however I am also trying to detect what kind of device it is. Like, a MacBook Air, a MacBook Pro, a MacPro, an iPhone, iPod, or an…
gnychis
  • 6,335
  • 15
  • 69
  • 104
14
votes
2 answers

Ionic 2 cannot find module 'dgram'

I have installed a template Ionic 2 application and want to add the NPM package bonjour After installing and including the package in my component like this: var Bonjour = require('bonjour'); var bonjour = new Bonjour(); The application won't run…
WJM
  • 993
  • 1
  • 11
  • 28
12
votes
1 answer

How bonjour discover devices on network?

I want to write a C program that can search Bonjour enabled devices on network. Basically we have a Network IP Camera, it supports Bonjour protocol. I want to write API in C that can search these devices which have Bonjour enabled. Does anyone have…
Sarfraz Ahmed
  • 1,213
  • 6
  • 20
  • 42
12
votes
1 answer

NSNetServiceBrowser/Bonjour issues on iOS

I'm using Bonjour (NSNetServiceBrowser, to be precise) over WiFi in an app I'm developing for an iOS project I've been working on. However, despite noting the issues raised in the excellent response at Why does NSNetServiceBrowser find unpublished…
Jonathan Ellis
  • 4,794
  • 2
  • 32
  • 48
12
votes
2 answers

How do I obtain "model name" for a networked device (potentially using Bonjour)?

Apple's Finder.app is able to consistently determine the exact model of each physical computer that uses bonjour (as evidenced by the icons being unique for each individual device type: iMac, MacPro, MBP, etc). How do they do this and what APIs do…
Marcus Tallhamn
  • 121
  • 1
  • 6
12
votes
2 answers

How to get the list of all announced bonjour services on all available domains?

It's not the problem to look in all domains, but I can't find the right way to look for any service on the network.
Farcaller
  • 2,881
  • 1
  • 21
  • 34
12
votes
3 answers

How to Transfer Large Files over wifi in iOS

I downloaded WiTap Code From Apple's website. Its for transferring data over local wifi network. I am working in a project to interact as client - server architecture. I am sending NSData from client side to server. I made 2 projects; one for…
HarshIT
  • 4,065
  • 1
  • 25
  • 54
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,111
  • 7
  • 46
  • 88
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,849
  • 1
  • 18
  • 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
3 answers

NSNetService delegates not being called

I'm trying to resolve a NSNetService (named "My_Mac") to an IP in a background app with this code: NSNetService *service = [[NSNetService alloc] initWithDomain:@"local." type:@"_daap._tcp" name:@"My_Mac"]; [service setDelegate:self]; [service…
K_T
  • 581
  • 7
  • 22
1
2
3
37 38