Can we find the internet bandwidth from the time it takes to ping a server if yes how is it done
相关问题
- IPAddress.[Try]Parse parses 192.168 to 192.0.0.168
- What would prevent code running in a Docker contai
- How to run tcp and udp on a single port at same ti
- Docker-Compose: Can't Connect to Mongo
- Make Laravel Homestead Accessible via the Internet
相关文章
- C# 使用ping来判断网络是否连通,但是拔掉网线就PingException
- RMI Threads prevent JVM from exiting after main()
- fsc.exe is very slow because it tries to access cr
- How many times will TCP retransmit
- Writing an OS X kernel extension to implement Linu
- Virtual Box limit Bandwith on network [closed]
- Is ICMP a transport layer protocol?
- How to add negative filter in network tab of Chrom
You might be able to make a very crude measure by creating pings of differing sizes
You could then use the difference in the latency between the smaller and larger pings to form the basis of your latency calculation.
Practically though with broadband speeds this would yield no meaningful data. At modem speeds or slower you may be able to get an indication of bandwidth, but it is unlikely to be accurate and repeatable.
But as others have already indicated pings are best used as an indication of latency and there are better ways to measure bandwidth.
No, ping tells you nothing about the bandwidth, it just measures latency. Measuring bandwidth is best done by a dedicated test, i.e. transferring a bunch of bits and measuring how long time it takes. You might want to consider that the bandwidth can vary dramatically with many factors, such as:
No, but you might be able to estimate the latency.
You can measure bandwidth if you know the latency of the channel beforehand.
You can use big ping packages and estimate the bandwidth knowing the type of channel and the expected RTT.
Please take a look at top-5-unix-network-monitoring-utilities
I asked the same thing but what everybody says is true ping will not measure bandwidth well. this batch listed below is a bandwidth speed test with ping but its limited to a max of 1000kb/s and in this simple form doesn't round up but you can play with it and experiment.