Re: NSNetService returning NSNetServicesBadArgumentError
Re: NSNetService returning NSNetServicesBadArgumentError
- Subject: Re: NSNetService returning NSNetServicesBadArgumentError
- From: Rick Mann <email@hidden>
- Date: Wed, 27 Jul 2011 02:09:23 -0700
Oh, so it is. Sorry, I'm sleep deprived.
On Jul 27, 2011, at 1:41 , Quinn The Eskimo! wrote:
>
> On 27 Jul 2011, at 09:30, Rick Mann wrote:
>
>> That's interesting. The docs definitely say 'don't use @""'.
>
> Hmmm, which doc specifically? The "NSNetService Class Reference" says:
>
>> The domain for the service. For the local domain, use @"local." not @"".
>>
>> It is generally preferred to use a NSNetServiceBrowser object to obtain the local registration domain in which to publish your service. To use this default domain, simply pass in an empty string (@"").
>
> <http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSNetService_Class/Reference/Reference.html>
>
> which is in-line with the info I posted.
>
> S+E
> --
> Quinn "The Eskimo!" <http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
>
>
> _______________________________________________
> 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
_______________________________________________
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