Fake Poor Internet

后端 未结 5 1204
旧时难觅i
旧时难觅i 2021-02-20 03:04

I\'m trying to test my iPhone and Android application with poor internet. I remember there was a program I read about a while back that would fake different types of poor intern

5条回答
  •  执笔经年
    2021-02-20 03:22

    A strategy to fake poor internet could be to open up sockets and send data as quickly as you can - the more threads that are doing this, the more of your device's internet access will be taken up, thus leaving less for the app. For example: if you have 1 other thread sending data, your bandwidth will be halved; if you have 3 other threads, only a quarter will be left for your application, and so on...

    I imagine that this is the strategy employed by the program about which you read (although there are other ways in which this could be accomplished).

提交回复
热议问题