Keep a MQTT Client Connection always active
问题 I am using CloudMQTT as a MQTT broker in my Pub-Sub based application. I am using my publisher to publish data to the CloudMQTT server over a topic , and I plan to subscribe to the broker on my webpage to recieve the transmitted information. I am using this procedure to create a Client (subscriber): https://www.cloudmqtt.com/docs-php.html Code goes as follows: // subscribe.php require("phpMQTT.php"); $host = "hostname"; $port = port; $username = "username"; $password = "password"; $mqtt = new