Re: Network stats
Re: Network stats
- Subject: Re: Network stats
- From: Andrew Pinski <email@hidden>
- Date: Thu, 28 Feb 2002 21:50:14 -0500
Look into the source for netstat.
Thanks,
Andrew Pinski
On Thursday, February 28, 2002, at 09:02 , Wade Tregaskis wrote:
Is there any way to get information such as bytes sent/received using
Cocoa [not Carbon, or anything command line, e.g. netstat]? I've
looked and searched the documentation without any luck; explored header
files themselves, dug through private frameworks, the whole bit. The
closest I got was iostat, but I could never get that to return anything
like it's supposed to.
Obviously it's achievable, as many apps have the info I want - I just
cannot fathom where it's been put.
For background [if a context helps] I need an app to record how much I
transfer over the LAN - I'm on a pay-per-meg Uni connection @ ~
33mbits, so I want my little app to slap me silly if I go above an
arbitrary limit too quickly. :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.