This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bandwidth  RSS feed

 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to measure the bandwidth of a certain TCP /IP . Is that possible please?
 
Tim Holloway
Saloon Keeper
Posts: 18635
70
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YMMV.

Actually, the term "bandwidth" is rarely accurate for networking, since what most people really want to know is the data transfer rate, not the actual raw bits-per-second. Bandwidth is the physical upper limit on the transmission mechanisms, but data transfer rate varies with the network equipment, media conditions, and routing. Higher bandwidth generally equates to higher data transfer, but the actual relationship depends on how data is packaged, including the modulation techniques used.

In mobile devices this can vary considerably, since the primary networking channesl are radio based, via the phone systems and/or WiFi (and/or Bluetooth). These are systems which adjust their bandwidth based on the strength and noise levels of their underlying radio signals.
 
Tim Holloway
Saloon Keeper
Posts: 18635
70
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, but in practical terms, you just stream data from the client to the server (and, if applicable, backwards as well). See how long it takes, and that's the effective data transfer rate for that particular hardware and conditions.
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!