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 immediately the removal of the server due to the loss of the Wifi connection, e.g. just turning off the airport of the Mac.
Is it how NSNetServiceBrowser
is supposed to work? Or am I missing something?