Example project for synchronous interaction with an asynchronous bidirectional stream Install vcpkg. At the time of writing this can be achieved by running: git clone https://github.com/microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.bat # or .sh Set environment variable VCPKG_ROOT to the directory you cloned vcpkg into. $env:VCPKG_ROOT="<path-to-vcpkg>" export VCPKG_ROOT="<path-to-vcpkg>" Configure and build with CMake. In the root of this repository run: cmake --preset default cmake --build --preset default