managed to work in win and ubuntu with c++ binding and hwclient and hwserver