• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bandwidth utilization

 
sharingan reddy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys how can i get the no of bytes sent or received form the computer ?
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't without embedding code into the network card drivers. I believe Pcap does that, and several programs use pcap instead of doing it directly.

Fortunately, there is a Java interface for Pcap: Jpcap. Try that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!