NSNetService returning NSNetServicesBadArgumentError
NSNetService returning NSNetServicesBadArgumentError
- Subject: NSNetService returning NSNetServicesBadArgumentError
- From: Rick Mann <email@hidden>
- Date: Tue, 26 Jul 2011 17:39:20 -0700
I'm calling it like this (no service is actually listening on that port yet):
NSNetService* ns = [[NSNetService alloc]
initWithDomain: @""
type: @"_MAVLink._tcp.local."
name: self.serverName
port: self.serverPort];
ns.delegate = self;
[ns publish];
But it calls me back with:
{
NSNetServicesErrorCode = "-72004";
NSNetServicesErrorDomain = 10;
}
What am I forgetting? 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