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.

578 questions
4
votes
1 answer

Disconnecting with server immediately after connecting

I have written a Singleton Class using GCDAsyncsocket Library to establish connection with any other device having same service using Bonjour. On one device I am using its Method "startPublishing" to make it a Host(Server), from the Application on…
Mrug
  • 4,963
  • 2
  • 31
  • 53
4
votes
0 answers

NSNetService Not Resolving

I have an existing application (actually a pair of iOS applications) which have a very basic Bonjour implementation so the 'client' can find the 'server' on the network. This worked fine until a recent test (I'm not completely for sure that this is…
dtuckernet
  • 7,817
  • 5
  • 39
  • 54
4
votes
2 answers

avahi-daemon gets stuck registering a service I'm publishing with avahi-publish-service

Occasionally, I notice that I can't detect services that I'm publishing via avahi (bonjour) on Ubuntu. For example, avahi-browse -a does not show the published service, and the browser does not resolve the published .local hostname. On the server…
jonderry
  • 23,013
  • 32
  • 104
  • 171
4
votes
1 answer

Possible to create a zeroconf service with Delphi XE5?

Working on an appliance and would like to support zero configuration feature. That way users can look for the device on the network and simply double click an icon to access the web interface without having to configure it or know its ip…
Alain Thiffault
  • 608
  • 3
  • 13
4
votes
1 answer

Advertise service with Bonjour on Windows

I'm developping a remote control on iPhone for Mac OS and Windows. I use Bonjour framework and it's working well on Mac OS. I can see on my iPhone the different Mac devices which have my server. I would like to do the same thing on Windows with…
Pierre
  • 10,593
  • 5
  • 50
  • 80
4
votes
1 answer

Proper way to distinguish between multiple services using zeroconf

I'm writing a piece of software that will run on computers as well as phones. The service uses an HTTP API for communication and will be published over the local network using Zeroconf. Initially I published my service using _http._tcp. as the…
Nicklas A.
  • 6,501
  • 7
  • 40
  • 65
4
votes
2 answers

Connecting iOS app to Windows/Linux apps

Background: I am just about to start development on an mobile and desktop app. They will both be connected to a local wifi network (no internet connection) and will need to communicate with one another. At the outset we are targeting iOS and Windows…
xizor
  • 1,554
  • 2
  • 16
  • 35
4
votes
4 answers

How do I find out my multicast (Bonjour) hostname?

I've registered a record using the Bonjour API. Now I want to know the contents of the record I just published. I created it by specifying a NULL hostname, meaning, "use the daemon's default", but I can't find a simple way to query what that…
Nicholas Wilson
  • 9,435
  • 1
  • 41
  • 80
4
votes
1 answer

What's The Difference Between NSNetService and GCDAsynSocket?

On iOS, I'm using bonjour to find other devices so I can stream data between the two. I was planning to use NSNetService for bonjour, and CocoaAsyncSocket for streaming. In this example, they create a GCDAsyncSocket and a NSNetService on the same…
bendytree
  • 13,095
  • 11
  • 75
  • 91
4
votes
4 answers

ZeroConf/Bonjour Code that works in Delphi 7 not working in 2009

I have the following declaration for DNSServiceRegister: function DNSServiceRegister ( var sdRef: TDNSServiceRef; const flags: TDNSServiceFlags; const interfaceIndex: uint32_t; const name: PUTF8String; …
Deltics
  • 22,162
  • 2
  • 42
  • 70
4
votes
1 answer

How do I send and receive network MIDI data in iOS?

How do I send and receive network MIDI data in iOS? I am able to resolve the server using bonjour and apply the service to a MIDI connection, but I don't know where to go from there. The documentation seems to be lacking, and there's not much…
ultra
  • 329
  • 1
  • 4
  • 15
4
votes
1 answer

Bonjour sdk for windows is running only in UI thread

I am developing a program that uses Bonjour algorithm to find services in network. I downloaded Bonjour SDK for Windows. There were two sample applications on .Net. Both are Windows Forms project. Samples work fine but when I tried to implement…
uzrgm
  • 375
  • 3
  • 8
4
votes
1 answer

NSNetService/Bonjour discovery only works on iPhone simulator

I'm working on an iPhone app that requires a basic client/server interaction model. For this I am going to use Bonjour and NSNetService, along with NSNetServiceBrowser to discover others on the same network. I have followed several different guides…
nrj
  • 1,701
  • 2
  • 22
  • 37
3
votes
2 answers

Java error Native Library already loaded in another classloader

I'm using the java bonjour library (dns_sd.jar) in a web application running in Jboss web server. When I start the server a Servlet finds every resource on the network with bonjour and returns to the user. The first time everything runs great but…
out_sid3r
  • 1,018
  • 2
  • 20
  • 42
3
votes
0 answers

How to clear Bonjour cache programmatically on iPad?

I'm having a strange behaviour with the Bonjour service discovery on the iPad. My code which probably is not the best yet, sometimes is not able to discover a bonjour service. For this conclusion I had my Macbook open at my side with a little app…
Nuno Santos
  • 1,476
  • 3
  • 17
  • 34