• 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
SCNetworkConnection - Dictionary/Subdictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCNetworkConnection - Dictionary/Subdictionary


  • Subject: SCNetworkConnection - Dictionary/Subdictionary
  • From: Stefan Lehrner <email@hidden>
  • Date: Wed, 3 Oct 2007 20:25:15 +0200

Hi,

can someone please help me?

I need to get the  "ConnectTime"  from the
Dictionary "SCNetworkConnectionExtendedStatus" subdirectory "PPP"

Sorry, I have no idea how to fetch this... I tried


id a = [[SCNetworkConnectionCopyExtendedStatus objectForKey:@"PPP"] objectForKey:@"ConnectTime"];
if (a != NULL) {
printf ("%i\n", [a intValue]);
}
else {
printf ("nicht verbunden\n");
}


But it compiled with an error message: /Users/sl/stats/stats.m:85: warning: invalid receiver type '¿¿v'

Maybe someone can bring into the darkness?

Thanks for your help,

Stefan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: SCNetworkConnection - Dictionary/Subdictionary
      • From: Stefan Lehrner <email@hidden>
  • Prev by Date: Re: Should I be trying to use bindings for this?
  • Next by Date: Re: Hardware copy protection
  • Previous by thread: Re: NSSavePanel's required/allowed types
  • Next by thread: Re: SCNetworkConnection - Dictionary/Subdictionary
  • Index(es):
    • Date
    • Thread