Re: [Bonjour/Rendezvous] How to resolve a service?
Re: [Bonjour/Rendezvous] How to resolve a service?
- Subject: Re: [Bonjour/Rendezvous] How to resolve a service?
- From: Stephane Sudre <email@hidden>
- Date: Mon, 23 Apr 2007 12:52:07 +0200
On 21 avr. 07, at 21:53, Marc Krochmal wrote:
Hi Stephane,
In case you never figured this out, you need to retain the
inNetService in your didFindService before resolving it and then
stop/release it when you've finished resolving.
- (void)netServiceBrowser:(NSNetServiceBrowser *) inNetServiceBrowser
didFindService:(NSNetService *) inNetService
moreComing:(BOOL)moreComing
{
[inNetService setDelegate:self];
[inNetService resolveWithTimeout:120.0];
}
Thanks. Nathan found the issue some times ago.
I had a retain call in the code at some point but since this had been
working fine without one for most services, I had removed it
(stupidly).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden