Re: Tracking the amount of inbound/outbound network traffic
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