How to plan and test (for) bad connectivity
I have created an application which uses a System.Net.Sockets.Socket and reads data asynchronously. Everything works great and has been working great for a while.
Recently, however, my ISP has been very unreliable and I am losing packets or there are huge delays, and pretty much whatever one could imagine.
Is there a way to simulate a bad ISP, so that I can debug under th开发者_高级运维ese circumstances as well as 'correct' any obvious problems.
VMWare Teams can emulate slow network speeds and packet loss.
I've not tried this, but you could give Speed Limiter ( http://www.soft32.com/download_80223.html ) a shot. From the site:
"Speed Limiter can simulate slow TCP/IP connections. Use Speed Limiter for example to see how long a website have to load on slow connections. Or test your software with slow TCP/IP connections."
精彩评论