![](/media/cache/profiles/9eeb8b4477905ec1cd897664dd336bcc.jpg.50x50_q85.jpg)
Sample MQTT program - simple send and receive
Fork of HelloMQTT by
Diff: MQTTNetwork.h
- Revision:
- 21:a68bd76740f9
- Parent:
- 20:49c9daf2b0ff
--- a/MQTTNetwork.h Tue Jan 10 18:10:17 2017 -0600 +++ b/MQTTNetwork.h Thu Sep 07 10:06:22 2017 +0100 @@ -26,8 +26,8 @@ return socket->connect(hostname, port); } - void disconnect() { - + int disconnect() { + return socket->close(); } private: