Re: NSNetService returning NSNetServicesBadArgumentError
Re: NSNetService returning NSNetServicesBadArgumentError
- Subject: Re: NSNetService returning NSNetServicesBadArgumentError
- From: Rick Mann <email@hidden>
- Date: Tue, 26 Jul 2011 18:23:02 -0700
On Jul 26, 2011, at 17:58 , Jens Alfke wrote:
>
> On Jul 26, 2011, at 5:44 PM, Rick Mann wrote:
>
>> Huh, I changed it to "_MAVLink._tcp." and I no longer get the error callback (I don't seem to get any calls back), and nothing gets advertised.
>
> The docs do say that the type needs to look like the above — adding “.local” is wrong, because that’s the domain.
>
> The docs also say: For the local domain, use @"local." not @"".
>
> Maybe you should re-read the docs :)
I have working code that uses @"" (PictureSharing sample).
Nevertheless, that change worked. Thanks.
--
Rick
_______________________________________________
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