bonjour

Does this program introduce a parallel execution?

Here is a simple server application using Bonjour and written in Java. The main part of the code is given here: public class ServiceAnnouncer implements IServiceAnnouncer, RegisterListener { private DNSSDRegistration serviceRecord; private boolean registered; public boolean isRegistered(){ return registered; } ...

Can Bonjour browse a service with a particular name?

Bonjour provides "DNSSD.browse(serviceType,callBackObject)" method which browses for services of a particular type. If a service of the given type is found, Bonjour calls "callBackObject.serviceFound". If the service is lost, Bonjour calls "callBackObject.serviceLost". I alway considered "DNSSD.browse" as a method for monitoring a parti...

What is the best way to communicate with Bonjour?

There is a nice method provided by Bonjour: DNSSD.browse("_killerapp._tcp", this);. As the first argument of this method I give type of service which potentially can be available in the network, and as the second argument I give a "callback object". The considered method "browse" for the services of the indicated type (first argument). ...

How can I discover zeroconf (Bonjour) services on Android? I'm having trouble with jmDNS.

I'm working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I'm unable to discover services using the one pure-Java zeroconf library I know of, jmDNS. (Apple's Bonjour, while it works on Linux and Windows Java, I believe would be harder to port to Android because of reliance on native code.) I can cre...

How to sync iPhone and Mac CoreData objects through bonjour?

I know similar questions have been asked before. I'm using the Sync Demo app I found online here, which uses Picture Sharing as a guide. I've integrated it into my desktop and iphone apps and have the connection working, but am clueless as to how to actually sync my objects. Is it as simple as if ([iphone Object] != [desktop object])...

bonjour for iphone

Hello,I would like to know whether bonjour is a public or private api?Can we use it in our apps directly. ...

Why this hostname looks so strange?

I use DNSSD.resolve() method to get information about a service found by Bonjour. I was able to get the port of the found service as well as its hostname. However, the hostname looks not as I expected. I thought it will be an IP address but it is equal to ID00926.local.. What is that? Can I use it as an IP address to create sockets in Ja...

dns_sd.h not found in windows

Hello everyone,I am doing a qt application for bonjour advertising..so i need to use dns_sd library for that.can anyone let me know where i can find that library or ddl or dns_sd.h file..when i compile my program i get an error "dns_sd.h no such file"(I am working under windows) ...

Is there an API to tap to Apple's Bonjour service?

Is there an API to tap to Apple's Bonjour service (I'm planning to share my non iTunes library with iPad)? ...

Easiest way to connect iPhone and Mac over WiFi with "server client" model

Hi there, I am interested in creating a server application on the Mac and a client application on the iPhone. The iPhone would send commands to the Mac through this connection. What's the easiest way to do this? I've seen NS/CFNetServices discussed here: http://stackoverflow.com/questions/1848525/ad-hoc-wifi-connection-between-iphone-...

Alternatives to GameKIt for iPhone to iPhone transfer

I am needing to transfer information as an NSData object from one iPhone to another inside an application and was originally planning on using Bluetooth/GameKit, but the data looks like it will be in the neighborhood of 500KB -> 1MB in size. I don't think this is going to fly with GameKit (Bluetooth) as it will take forever and it seems...

CFSocketConnectToAddress and unrecognized selector sent to instance

Hello, I am somewhat new to iPhone dev and I have been getting unrecognized selector when I call CFSocketConnectToAddress in this code. I think it might be something basic that I am doing wrong. Any idea? this is the complete error I get. NSInvalidArgumentException unrecognized selector sent to instance 0x3922170 0x3922170 is the ca...

Using Apple’s Bonjour service from .NET?

I have an iPhone app that publishes through Bonjour. The Mac counterpart works, they sync and exchange data. Now I have to port that little Mac app to Windows. I’ve decided to go with .NET (because that’s what I know). The app is not complex, but I’m in the early stages. I need to browse/discover Bonjour services. For this task, I’ve d...

How do I tell if a bonjour service is wi fi or bluetooth?

I am building an app that sends information between two iPhones. The app is working great but the one problem I am having is that I have no way of telling whether bonjour is choosing wi-fi or bluetooth to make the connection. I would like to allow the user to be able to choose which they prefer. Also, is there way to programmatically ...

How do I find what is blocking Bonjour service on Port 8080?

We are running a program that communicates via Bonjour Print Services on port 8080 of a client computer. For some reason we cannot connect to that port via our program, or via a web browser over the wireless network. Bonjour is broadcasting the location, but will not allow a connection. Typically this is caused by a firewall, but in t...

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 returning the device name, "How's Testing", which is correct. However, when I use Safari to...

Where is the Bonjour COM library?

I've downloaded and installed the Bonjour SDK for Windows on my Win7 64bit machine. I've tried to build both of the the projects in C:\Program Files\Bonjour SDK\Samples\CS. However they both reference Bonjour, causing me to get the following build error 'Cannot load type library for reference "Bonjour". Library not registered.' Bonjou...

ZeroConf Chat with Python

Hello all, I am trying to set up a Bonjour (or Ahavi) chatbot for our helpdesk system that would answer basic questions based on a menu system. The basis of my question is how do I get python to create the bot so that it connects to the network as a chat client. Basically, anyone on my network with iChat or Empathy (or any chat program...

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 reference for the service identifiers to use. The document specifies which services are browse...

Bonjour service to interact with keyboard

Hi I want to create an iPhone app where i press an A key, and a computer connected to the local network over wifi would respond as if the A key was pressed on its own keyboard. Would i need to write a Bonjour service on the machine to detect and handle the key presses, hooking into the keyboard? Are there any starting points? Thanks....