bonjour

failed to create oob message?

Hi I'm trying to build a simple chat client between two ipod touches Just as a start to learning Bonjour. I connect the two devices fine and everything seems like it should work. I can send the data with no problems (no error) , but When I should then receive the data and I dont. When I look in the log, I see "GCKSessionEvent_IncomingO...

Bonjour service does not disappear immediately when the computer running the server is removed from the network

Hi, I'm setting up a client-server communication channel between an iPhone app (client) and a Mac app (server), using Bonjour. So far, NSNetServiceBrowser on the iPhone app notices the launch and the quit of the server app on the Mac almost immediately, and sends the corresponding delegate messages. However, it does not notice immedia...

what is Bonjour ?

Hi all, 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 ...

CFNetwork and Bonjour integration for iPhone to Mac integration

I want to use CFNetwork and Bonjour in conjunction to be able to have communications between my iPhone app and a Mac app. The app on the iPhone would have one button. Then on the Mac app, there will be a label. If the button is pushed on the iPhone app, the label changes on the Mac app. Is there example code out there that can do this?...

converting old iphone applications (ios2.2.1) to newer iphone applications (ios4)

Bill Dudney created a sample iPhone Bonjour application to demonstrate how to use Bonjour to discover and connect to two iPhones. Unfortunately, this application was made for ios2.2.1. Does anyone know how to convert this application to the new ios4? OR if someone knows of another example application that is made for ios4? ...

wifi and 3g iphone and mac app comunication

I created two apps, one for iphone and one for mac. They communicate back and forth. The iphone is used as a "remote control" to do things on my mac. For now it just changes the color of a text label on the mac app when I press a button on the iphone app. As of now, it can only connect through wifi. It uses bonjour and finds discovered ...

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? Best, Kolja ...

Cross-Platform Bonjour

Is it possible to write a program using Bonjour or a Bonjour-compatible library in a cross-platform language such as Java or Python? If so, where can I find the files needed for this? ...

Is there any way to simulate multiple iOS devices running a Bonjour networking app?

I want to build a multiplayer iPhone game that allows multiple iPhones (clients) to connect to a single iPad (server) using Bonjour. Since I only have one iPhone and one iPad, is there a way to run multiple instances of the iPhone simulator to simulate the multiplayer app? If not, does anyone have any creative solutions to testing a mul...

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 hence IP address comes into picture. But Bonjour (based on mdns) requires multicast to wo...

Resolve iPhone/iPod/Mac computers connected to a local LAN

Is it possible to easily resolve all Apple OSX devices connected to a single LAN network (the same switch / hub is enough)? I know OSX provides Bonjour service and you can easily query other Macs connected to the network. But I am not sure whether iPhone / iPods provide similar identification. The identification should be device id - in...

sharing a DNSServiceRef using kDNSServiceFlagsShareConnection won't work

Hi, I don't like the title of this question but i couldn't come with anything better. I'm building a client using dns-sd api from Bonjour. I notice that there is a flag called kDNSServiceFlagsShareConnection that it is used to share the connection of one DNSServiceRef. Apple site says For efficiency, clients that perform many con...

Need help to discover devices on same Wifi network as my iPhone using Bonjour service

Hi, Can you guys please provide some direction on how I can use Bonjour service in an iPhone app to discover other devices on the same WiFi network? I tried using NSNetServiceBrowser class but I couldn't discover any devices with it. It probably is more useful to discover specific services. Please help. Thanks, Nikunj ...

How to use Bonjour's dns_sd.jar with Eclipse's plugins?

We have an Eclipse RCP application in which we bundle Bonjour's dns_sd.jar. We would like to decouple our app by using the installed version of this jar file from the JRE/JDK dirs. That way we can ship the same app for many OS and Bonjour versions. The plugins compile correctly with the jar, but trying to launch the product either from ...

How to advertise a Bonjour Service in Visual C++

Hey everyone, I'm trying to figure out if this is even possible, but what's the simplest way of advertising a Bonjour service through Visual C++? I've got the Bonjour SDK installed but frankly, SDK seems a kind word for what it really is. I've had a good old google around for sample codes, snippets, tutorials, but got nowhere - can anyon...

List of Bluetooth devices on iPhone

Hello people! 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 " Specifically, you must include the UISupportedExternalAccessoryProtocols key to declar...

Setting Bonjour Display Name on Mac

Hey everyone, I'm looking to setup some Macs on my company's network to change their Bonjour broadcast name based upon who is logged in to the computer. Currently, they broadcast with the computer's name. This will hopefully make it easier for them to share files, as they wont have to remember that computernameXYZ is Jane Smith's comput...

How do we detect if wifi becomes unavailable in iPhone SDK

Hi All, 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 unstable, I am having trouble in detecting if the other device is available or not....

Sending data between OSX and iPhones/iPads

Hi, I am wondering how I can send data between a machine and a mobile device. I know about the game kit an have read a bit about bonjour (but don't know to much about it), but would like to know some expert thoughts on what the best way is. What I basically want to build is a one way traffic application that sends data from OSX to the ...

How to find out if removed NSNetService is equal to already resolved NSNetService?

Hello, in my iPhone app I have a NSNetServiceBrowser looking for a specific service published via Bonjour. Once it finds a NSNetService I resolve this service (to get the name, IPs and port) and display a list of those found services. Now the problem/question: Once a service stops publishing via Bonjour the NSNetServiceBrowserDelegate ...