• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Network stats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Sheet!
  • Next by Date: Re: Two basic questions
  • Previous by thread: Re: Sheet!
  • Next by thread: Need help with NSOutlineView
  • Index(es):
    • Date
    • Thread