Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Sockets and Internet Protocols
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Sockets and Internet Protocols
Bandwidth utilization
sharingan reddy
Greenhorn
Posts: 8
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys how can i get the no of bytes sent or received form the computer ?
Rob Spoor
Sheriff
Posts: 22783
131
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Modem Bytes Receive/Send
non-blocking socket NIO
Speed of the network
Network assignment HELP NEEDED
Java program to measure actual available bandwidth of my internet connection
More...