Hi all,
I’m writing a GUI for iperf3, which works very nicely under macOS. However, under Windows, if I use a Shell in mode 2, iperf3 runs, but the result is not returned at 1-second intervals so I can update gauges/graphs in the GUI, but is returned all in one single block after the iperf3 test ends:
[code][ 4] local 10.0.0.2 port 60415 connected to x.x.x.x port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 1.67 MBytes 14039 Kbits/sec
[ 4] 1.00-2.00 sec 2.64 MBytes 22157 Kbits/sec
[ 4] 2.00-3.00 sec 2.64 MBytes 22115 Kbits/sec
[ 4] 3.00-4.00 sec 2.64 MBytes 22209 Kbits/sec
[ 4] 4.00-5.00 sec 2.56 MBytes 21483 Kbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-5.00 sec 12.2 MBytes 20400 Kbits/sec sender
[ 4] 0.00-5.00 sec 12.1 MBytes 20337 Kbits/sec receiver
iperf Done.
sh-3.2$[/code]
The “Interval” lines come in every second if the command is run in a normal cmd.exe window, but no matter what I try I cannot get the same result when running from Xojo.
I’m using the same code as in the Async Shell example provided with Xojo, and the result is the same if run in the example.
Any ideas?