android13/external/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
minimal-mqtt-client-multi.c initial 2024-06-22 20:45:49 +08:00
selftest.sh.broken-on-travis initial 2024-06-22 20:45:49 +08:00
warmcat.com.cer initial 2024-06-22 20:45:49 +08:00
wget-log initial 2024-06-22 20:45:49 +08:00

README.md

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