
A couple more sizeof issues found and fixed. One of them is actually another protocol change, but due to a fortuitous accident it should remain compatible with older versions. Detailed explanation: When a client attempts to connect to a server that is already busy, the server is supposed to return ACCESS_DENIED as a state value. It was doing so, but was writing it as an int, even though state values are supposed to be signed chars. The client read the value correctly as a signed char, getting one byte and throwing away the rest. So why did this ever work? Because ACCESS_DENIED is the value -1, and any byte of an int -1 equals a signed char -1. If ACCESS_DENIED had been any other value, this would have been an opvious bug and would have long since been fixed. As is, it stuck around working by accident until now.
= Summary = iperf3 is a tool for measuring achievable bandwidth on IP networks. iperf3 is NOT backwards compatible with the original iperf. Supported platforms: * Linux * FreeBSD * Mac OSX = Building iperf3 = == Prerequisites: == * libuuid: this is not installed by default for Debian/Ubuntu Systems to install: apt-get install uuid-dev == Building == Run: ./configure and make For more information see: http://code.google.com/p/iperf/
Описание
iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool (BSD license)
https://github.com/esnet/iperf
Languages
C
50.2%
Shell
34.1%
Makefile
11.9%
Roff
2%
M4
1.3%
Разное
0.3%