fix issues with reporter closing

This commit is contained in:
Ben Grewell
2021-03-10 14:28:20 -08:00
parent 03d6ae7d3b
commit 0dc467f289
4 changed files with 80 additions and 64 deletions

View File

@@ -10,8 +10,8 @@ func main() {
includeServer := true
proto := "tcp"
runTime := 30
omitSec := 10
runTime := 10
omitSec := 0
length := "65500"
c := iperf.NewClient("10.254.100.100")
@@ -22,7 +22,6 @@ func main() {
c.SetLength(length)
c.SetJSON(false)
c.SetIncludeServer(false)
c.SetTimeSec(20)
c.SetStreams(2)
reports := c.SetModeLive()