• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Bonjour/Rendezvous] How to resolve a service?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: [Bonjour/Rendezvous] How to resolve a service? (From: Stephane <email@hidden>)
 >Re: [Bonjour/Rendezvous] How to resolve a service? (From: Marc Krochmal <email@hidden>)

  • Prev by Date: Open Directory Authentication Using JNDI
  • Next by Date: CFNetwork HTTPS
  • Previous by thread: Re: [Bonjour/Rendezvous] How to resolve a service?
  • Next by thread: RemoteAccessInterface.h
  • Index(es):
    • Date
    • Thread