(OK) Android 7 中使用 iperf3, 错误解决:error - unable to create a new stream no such file or directory
修改文件 src/iperf_api.c,否则,执行 iperf3 时,出错:iperf3:
error - unable to create a new stream no such file or directory
# cd /mnt/vm_ztg_t/paper-8-test-nougat/mim-tcp-mdr/external/iperf3
# vim src/iperf_api.c
char buf[] = "/tmp/iperf3.XXXXXX";
修改为
# cd /mnt/vm_ztg_t/paper-8-test-nougat/mim-tcp-mdr/external/iperf3
# vim src/iperf_api.c
char buf[] = "/tmp/iperf3.XXXXXX";
修改为
char buf[] = "/data/local/tmp/iperf3.XXXXXX"; # 因为 Android 7 存在:/data/local/tmp/