我如何可以模拟下载速度的System.Threading [英] How can I simulate download speed with System.Threading

查看:112
本文介绍了我如何可以模拟下载速度的System.Threading的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用的System.Threading来模拟用户的连接速度还是有更好的方法或工具。

Can I use System.Threading to simulate user connection speed or is there a better way or tool.

在此先感谢。

推荐答案

Fiddler2 是HTTP代理服务器这可以模拟调制解调器的速度。 (我不知道有关TCP节流工具,更不用说UDP)

Fiddler2 is an HTTP proxy that allows you to simulate modem speeds. (I don't know about throttling tools for TCP, much less UDP)

编辑发表评论:

将自身设置为WinInet的(系统)代理在启动时,捕获甚至本地主机的请求(的看到这问题的情况下);也,也可以重新路由请求到不同的主机(即请求example.com成为一个请求到本地主机)。

It sets itself as the WinInet (system) proxy on startup, captures even localhost requests (see this in case of problems); also, it can reroute requests to a different host (i.e. a request to example.com becomes a request to localhost).

另外,它有一个强大的脚本引擎,它使您可以自定义的处理规则。

Also, it has a powerful scripting engine which allows you to make custom processing rules.

这篇关于我如何可以模拟下载速度的System.Threading的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆