kylinsoong / ttcp

Test TCP
Apache License 2.0
3 stars 3 forks source link

add threshold for simulate Application level Latency #14

Closed kylinsoong closed 1 year ago

kylinsoong commented 1 year ago

add threshold for simulate Application level Latency that can generate

kylinsoong commented 1 year ago

With this commit, start the recv append a -L flag

ttcp -r -l 512 -L

which this will cause the recv receive speed around 0.15 MB per seconds, so the trans side should also send a little size data, like 5MB, 10MB, eg:

ttcp -n 10 -t <IP>

This most likely will simulate TCP Window Full, TCP ZeroWindow, TCP Retransmission, and TCP Dup Ack in wireshark reports.