SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
- Subject: SCNetworkServiceCreate returns kSCStatusNoKey when trying to create a PPP service
- From: Gordon Scott <email@hidden>
- Date: Tue, 3 Nov 2009 16:38:26 -0800
I've been using the MoreSCF code to generate PPP network services which is working okay.
Since I'm only targeting 10.4 and later I wanted to try using the System Configuration API to do this.
I am locating the proper SCNetworkInterfaceRef based on the bsd name of the modem however SCNetworkServiceCreate() always fails with error kSCStatusNoKey.
Any ideas why this is happening? Anything I need to setup first in the SCNetworkInterfaceRef or the SCPreferencesRef before making this call?
_______________________________________________
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