xref: /third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/README.md
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/
1d4afb5ceSopenharmony_ci# lws minimal MQTT client multi
2d4afb5ceSopenharmony_ci
3d4afb5ceSopenharmony_ci## build
4d4afb5ceSopenharmony_ci
5d4afb5ceSopenharmony_ci```
6d4afb5ceSopenharmony_ci $ cmake . && make
7d4afb5ceSopenharmony_ci```
8d4afb5ceSopenharmony_ci
9d4afb5ceSopenharmony_ci## usage
10d4afb5ceSopenharmony_ci
11d4afb5ceSopenharmony_ciThe application goes to https://warmcat.com and receives the page data
12d4afb5ceSopenharmony_cisame as minimal http client.
13d4afb5ceSopenharmony_ci
14d4afb5ceSopenharmony_ciHowever it does it for 8 client connections concurrently.
15d4afb5ceSopenharmony_ci
16d4afb5ceSopenharmony_ci## Commandline Options
17d4afb5ceSopenharmony_ci
18d4afb5ceSopenharmony_ciOption|Meaning
19d4afb5ceSopenharmony_ci---|---
20d4afb5ceSopenharmony_ci-c <conns>|Count of simultaneous connections (default 8)
21d4afb5ceSopenharmony_ci-s|Stagger the connections by 100ms, the last by 1s
22d4afb5ceSopenharmony_ci-p|Use stream binding
23d4afb5ceSopenharmony_ci
24d4afb5ceSopenharmony_ci
25

Indexes created Thu Nov 07 10:32:03 CST 2024