Open nmcconom opened 12 years ago
Would love to do this. Do you have any idea what the algorithms or inputs might look like for such behavior?
Not sure to be honest in Java - for Linux in the past we scripted stuff using the tc command - http://www.topwebhosts.org/tools/traffic-control.php
If someone decides to take a look at this, check out SimulatedSocket. Most of the framework is already set up, we just need a decent algorithm to control PL and jitter.
As well as the options to control network speed and latency - an option to control jitter and packet loss ratio would be very useful to use the tool to simulate mobile network environments for actual mobile devices connecting through your wireless card or simulating it with user-agents being changed in the browser.