I\'m trying to create an MQTT client with C++ using mosquitto and mosquittopp. The client connects successfully to the broker.
The callback functions on_connect
on_connect