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
|