Results 1 to 3 of 3
Sep 25, 2011, 11:01 #1
PHP Script to find Network Speed/Bandwidth
I am looking for a php script to detect the network speed/bandwidth.
I will need it to know that if there is enough network speed/bandwidth to stream a video file or not.
I Google alot but cannot find it.
Sep 25, 2011, 13:07 #2
Mar 12, 2012, 07:00 #3
- Join Date
- May 2009
- 0 Post(s)
- 0 Thread(s)
PHP can record the starting time and then start outputting random data for say 10 seconds. The amount of traffic transferred in that 10 seconds can be used to detect link speed. It works because TCP has to send acknowledgements for each of its packets before it can continue (with a small error window called the TCP window).