Cannot cleanly compile in Win32 using Visual Studio (tried the free Express version). Suggestions for some fixes, but I can't fix the missing setitimer and itimerval.
header.h
--------
#ifdef WIN32
#include <intrin.h>
typedef int64_t max_size_t;
#else
#include <iperf-int.h>
typedef uint64_t max_size_t;
#endif
main.cpp
--------
iperf-2.0.4\vs\main.cpp(126) : error 2065: 'SIGALRM' : undeclared identifier
iperf-2.0.4\vs\main.cpp(316) : error C2664: 'Settings_ParseCommandLine' : cannot convert parameter 2 from 'LPTSTR *' to 'char **'
Client.cpp
----------
missing itimerval()
missing setitimer()
#define ENOBUFS WSAENOBUFS
missing ITIMER_REAL