• 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: Tracking the amount of inbound/outbound network traffic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking the amount of inbound/outbound network traffic


  • Subject: Re: Tracking the amount of inbound/outbound network traffic
  • From: Kai-Mikael Jää-Aro <email@hidden>
  • Date: Wed, 11 Jul 2007 17:45:03 +0200


Simon Raisin kirjoitti 2007-07-11 kello 17:25:

Hi,

I'm new to network programming on the Mac. I'd like to create an
application (using Objective-C and Cocoa) that would allow me to monitor the
amount of network traffic on a given machine. Again, I'm only interested in
tracking the _amount_ of data that is sent/received from the internet
(anything that occurs locally won't be tracked). I don't care about the
content of the data, just the size.


Any suggestions as to the best way to get started would be much appreciated.

I've found rstat to be very convenient, but it requires rpc.rstatd to run on the machine in question.


Might the Packet Capture library be helpful in this case?  See man pcap.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Tracking the amount of inbound/outbound network traffic (From: "Simon Raisin" <email@hidden>)

  • Prev by Date: Finding windows made in Interface Builder?
  • Next by Date: Re: Finding windows made in Interface Builder?
  • Previous by thread: Tracking the amount of inbound/outbound network traffic
  • Next by thread: Re: Tracking the amount of inbound/outbound network traffic
  • Index(es):
    • Date
    • Thread