Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 476 Bytes

File metadata and controls

21 lines (17 loc) · 476 Bytes

How to test (Mac OS X only for now)

Clone and build project:

  • $ git clone https://github.com/kladku/mqttcpp
  • $ cd mqttcpp
  • $ mkdir build
  • $ cd build
  • $ cmake ..

Install and run mosquitto server:

  • $ brew install mosquitto
  • $ /usr/local/sbin/mosquitto

Run mqttcpp_client on two different terminals, so you can send messages between them:

  1. $ examples/mqttcpp_client user1 user2
  2. $ examples/mqttcpp_client user2 user1