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

2022-01-12 00:00:00 visual-studio winapi c++ mfc

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

相关文章