latest Client, Server and Sensor C++ code