Get the number of packages transmitted per connection

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-12-29T08:08:19Z Indexed on 2010/12/29 8:53 UTC
Read the original article Hit count: 173

How do I get the number of packages transmitted per TCP connection?

I am using Java, but i know I will have to fetch the number from the underlying OS, so this quastion applies to Linux and Windows operating systems and will have different answers for each of them, I assume.

I need this information to profile the network load of an application which seems to send too many small packages by flushing the socket streams too often.

© Stack Overflow or respective owner

Related posts about java

Related posts about Windows