• 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: attached gateways
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attached gateways


  • Subject: Re: attached gateways
  • From: Chase <email@hidden>
  • Date: Tue, 28 Jun 2005 16:42:29 -0500

okay, i've got a little code snippet that's getting me a little closer on the systemconfiguration thing:

SCDynamicStoreRef storeRef = SCDynamicStoreCreate(nil, nil, nil, nil);
if (storeRef) {
CFPropertyListRef x = SCDynamicStoreCopyValue(storeRef, CFSTR ("State:/Network/Service/en0/IPv4"));
CFShow(x);
CFRelease(x);
}




it prints out the data i want, but why can't i do the same with "State:/Network/Service" ?

shouldn't that print out the contents starting at that level?

instead it prints "(null)" and dies with a SIGBUS error.

- chase



_______________________________________________
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


  • Follow-Ups:
    • Re: [RESOLVED] attached gateways
      • From: Chase <email@hidden>
References: 
 >Re: attached gateways (From: "Jamie Wood" <email@hidden>)
 >Re: attached gateways (From: Chase <email@hidden>)
 >Re: attached gateways (From: Chase <email@hidden>)

  • Prev by Date: Re: attached gateways
  • Next by Date: Re: attached gateways
  • Previous by thread: Re: attached gateways
  • Next by thread: Re: [RESOLVED] attached gateways
  • Index(es):
    • Date
    • Thread