Methods
(static) start(func, args)
Start iperf (args.c -> client or args.s -> server).
Parameters:
Name | Type | Description |
---|---|---|
func |
function | The callback function to invoke when results are available. |
args |
object | command line arguments, these match more or less the arguments (naming and values) that you can give to commandline iperf. |
(static) stop(id)
stop running iperf server.
Parameters:
Name | Type | Description |
---|---|---|
id |
number | The id returned by the start call. |