如何在 VC++ 中以编程方式检查 Internet 带宽?

How to programmatically check Internet bandwidth in VC++?(如何在 VC++ 中以编程方式检查 Internet 带宽?)

本文介绍了如何在 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 带宽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何在 VC++ 中以编程方式检查 Internet 带宽?

基础教程推荐