#18 iperf TCP client cannot detect write errors

open
nobody
None
5
2014-08-15
2011-12-08
Andy Fingerhut
No

currLen in Client::RunTCP() being declared unsigned is a bug

It means that the (currLen < 0) check for an error return value from
the write() system call can never be true, and so write errors are not
detected.

Discussion