Michael Lutz 7a6ff07a01 Problem: Windows performance is not optimal due to select().
Solution: Provide poll() for Windows as well. This is a build option that
defaults to off as the resulting binary will only run on Windows Vista or
newer.

This is not tested with alternative Winsock service providers like VMCI,
but the documentation for WSAPoll does not mention limitations.

On my local machine, throughput improves by ~10 % (20 simultaneous
remote_thr workes to one local_thr, 10 byte messages), while latency
improves by ~30 % (measured with remote/local_lat).
2016-06-11 19:17:18 +02:00
..
2016-05-13 02:24:45 -07:00

For building on Windows, use:

     cd build
     ./build.bat

This requires that the CMD.EXE be created using the DevStudio Tools link to create a CMD.EXE window.

Visual Studio product and C++ compiler Versions:

Visual C++ 2008 => Visual C++ 9
Visual C++ 2010 => Visual C++ 10
Visual C++ 2012 => Visual C++ 11
Visual C++ 2013 => Visual C++ 12
Visual C++ 2015 => Visual C++ 14

Note that solution file icons reflect the compiler version ([9], [10], [11], [12], [14]), not the product version.

The vs2015/vs2013/vs2012/vs2010 solution and project files differ only in versioning.

More info here:

http://en.wikipedia.org/wiki/Visual_C%2B%2B

If multiple DevStudio versions are installed, you can run build.bat in separate windows each created by the desired DevStudio target.

To build for all versions of Visual Studio (excluding vs2008), you can run buildall.bat. This is generally a maintainer task.