i’d like to program a gui for iperf (http://sourceforge.net/projects/
iperf), it should run under windows And *NIX and I’m using fox as my
gui toolkit, I’ll use some extra calculations to get the parameters,
that’s why I can’t use an already existing gui for iperf.
I already designed the gui and I’m now moving to connect the different
widgets to it’s functions.
After you set all your parameters (size of packet, bandwith,
time, …) I want to press a button and it should start iperf and
parallely read the it’s output, so I can display some statistics
(running time and, on server side, the packet loss, maybe more).
So what should I program to do this?
I read about multithreading, IO.popen would be perfect, but how can I
kill iperf when I want to quit, before iperf ran out of time?
I think threads could also work (especially because one can kill
threads, if no longer used so the program would be terminated), but
what do I do to start the iperf?
I’m new to this subject and would appreciate any help on this!
Thanks in advance,