SCNetworkConnection - Dictionary/Subdictionary
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