thiezn / iperf3-python

Python wrapper around iperf3
https://iperf3-python.readthedocs.org/
MIT License
109 stars 52 forks source link

How to specify tcp window size? #36

Open rajnishkr123 opened 5 years ago

rajnishkr123 commented 5 years ago

How can we specify tcp window size in iperf3 wrapper as like option 'w' in iperf3 utility.

zhaolei5911 commented 4 years ago

is blksize?

rajnishkr123 commented 4 years ago

Looking at the code of iper3, the api for specifying window size is void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize ); https://github.com/esnet/iperf/blob/38bac802fa85db9012981ff87c3725812a3d8a07/src/iperf_api.h

Can this api be included the the wrapper.