iperf3.19.so with android app integration through NDK failed with UDP test(TCP works) #1901
Unanswered
dantanqikun
asked this question in
Q&A
Replies: 2 comments
-
i got the answer, cause udp needs to define buffer size, and block size(normally 1460) then works |
Beta Was this translation helpful? Give feedback.
0 replies
-
so i close it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
iperf_defaults(test);
iperf_set_test_role(test, 'c');
iperf_set_verbose(test,1);
iperf_set_test_server_hostname(test, host_str.c_str());
iperf_set_test_server_port(test, server_port);
iperf_set_test_duration(test, duration_sec);
iperf_set_test_json_output(test, 1); // Enable JSON output
set_protocol(test,Pudp);
4.iperf_run_client(test);
5.iperf_get_test_json_output_string(test);
BUT json_output_string records do not have metric value for UDP test:
-Transfer, Bitrate, Jitter,Lost/Total are all zero.
-time start and time end are not zeo
thanks for any suggestion
Beta Was this translation helpful? Give feedback.
All reactions