如何以编程方式检查VC ++中的Internet带宽? [英] How to programmatically check Internet bandwidth in VC++?
本文介绍了如何以编程方式检查VC ++中的Internet带宽?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在特定时间找到可用的带宽。代码必须用Visual C ++或.Net系列开发。如果有人知道如何,请帮助我。
I need to find the bandwidth available at a particular time. The code must be developed in Visual C++ or in .Net family . If anyone knows how, please help me out.
推荐答案
检查带宽的唯一方法是实际尝试使用它,即通过从其他地方下载文件并测量吞吐量。
The only way to check your bandwidth is to actually try to use it, i.e. by downloading a file from somewhere else and measuring the throughput.
即使这样,它只是一个近似值,因为其他网络效应会影响结果:
Even then it'll only be an approximation, because other network effects will affect the results:
- 延迟
- 非对称上传/下载
- li>
- latency
- asymmetric upload / download
- other traffic
这篇关于如何以编程方式检查VC ++中的Internet带宽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文