How to programmatically check Internet bandwidth in VC++?(如何在 VC++ 中以编程方式检查 Internet 带宽?)
问题描述
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:
- latency
- asymmetric upload / download
- other traffic
这篇关于如何在 VC++ 中以编程方式检查 Internet 带宽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!