Hey guys,
I'm having a tough time properly stopping bonjour services when an app is running on the device. Noticed this problem with my app so I downloaded the WiTap example and it's having the same problem.
The apps publish a bonjour service (sometimes it works) but when the service is stopped the service remains listed in a Bonjour Browser app I'm running on my laptop. The only way to stop the services is to restart bonjour. When either WiTap or my app are run in the simulator they behave correctly (the services start and stop correctly).
Any thoughts on how to correctly unregister the service from the phone? Or why they work correctly in the simulator but terribly on the device?
I'm having a tough time properly stopping bonjour services when an app is running on the device. Noticed this problem with my app so I downloaded the WiTap example and it's having the same problem.
The apps publish a bonjour service (sometimes it works) but when the service is stopped the service remains listed in a Bonjour Browser app I'm running on my laptop. The only way to stop the services is to restart bonjour. When either WiTap or my app are run in the simulator they behave correctly (the services start and stop correctly).
Any thoughts on how to correctly unregister the service from the phone? Or why they work correctly in the simulator but terribly on the device?