unplugged-vendor/external/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi
2025-10-06 13:59:42 +00:00
..
CMakeLists.txt Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
minimal-mqtt-client-multi.c Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
selftest.sh.broken-on-travis Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
warmcat.com.cer Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
wget-log Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

lws minimal MQTT client multi

build

 $ cmake . && make

usage

The application goes to https://warmcat.com and receives the page data same as minimal http client.

However it does it for 8 client connections concurrently.

Commandline Options

Option Meaning
-c Count of simultaneous connections (default 8)
-s Stagger the connections by 100ms, the last by 1s
-p Use stream binding