Re: SimpleDial & SCNetworkConnectionGetStatus
Re: SimpleDial & SCNetworkConnectionGetStatus
- Subject: Re: SimpleDial & SCNetworkConnectionGetStatus
- From: Allan Nathanson <email@hidden>
- Date: Wed, 8 Aug 2007 10:32:18 -0400
Please check out the <SystemConfiguration/SCNetworkConnection.h>
APIs. For byte/packet counts, you'll want to call
SCNetworkConnectionCopyStatistics().
Also, while the SimpleDial sample code <http://developer.apple.com/samplecode/SimpleDial
> doesn't specifically report the statistics it should get you started.
- Allan
On Aug 8, 2007, at 7:30 AM, Stefan Lehrner wrote:
Hi,
Currently my application does the following:
with MoreSFC I am dialing a specific modem, with AppleScript &
Internet Connect I am getting
the Status of the Connection & the Amount of sended & received data!
As the combination
of "Internet connect" & my Application is not a beautiful one, I am
looking for a new
way to get the data which I am now getting from Internet Connect!
To make it simple - I am looking for a way to get the status of my
connection & the amount
of sended & received data!
Has anyone have a clue on how to solve this?
To be honest - I am more on Applescript then on Cocoa or Objective-C
- but I am willing to learn...
Thanks for your help,
Stefan
_______________________________________________
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