Re: network traffic statistics
Re: network traffic statistics
- Subject: Re: network traffic statistics
- From: Quinn <email@hidden>
- Date: Mon, 2 Feb 2009 10:07:23 +0000
At 19:34 -0500 27/1/09, Peter Sichel wrote:
You can read more about sysctl in Steven's UNIX Network Programming.
You can get similar information from I/O Registry. Take a look at
the <IOKit/network/IONetworkStats.h> header and then go rummaging in
the I/O Registry with IORegistryExplorer.
The sysctl approach has the advantage that it will work with
non-registry based devices, such as PPP and VPN.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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