Server: https://github.com/RobotWebTools/rosbridge_suite Client c++ : https://github.com/ppianpak/rosbridgecpp or https://github.com/Sanic/rosbridge2cpp
For rosbridgecpp you need to install openssl: sudo apt-get install libssl-dev but you will get the following error:
nvidia@tegra-ubuntu:~/test/rosbridgecpp/build$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.2) but 1.0.2g-1ubuntu4.5 is to be installed
Recommends: libssl-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Possible solution: