You could try to read

/proc/self/net/dev
/proc/self/net/snmp

to get interface and protocol level stats. I guess since this is not
part of the public API, there is not guarantee that these formats
won't change, but for now at least this information might be what you
are looking for.

Bernhard

On Oct 29, 2:15 am, blues <[EMAIL PROTECTED]> wrote:
> Is there a way to monitor the IP traffic? For example throughput?
> If not in java, can it be done through native code? I have seen some
> IP sniffer source code for linux.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to