mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00

Adds client support for MQTT QoS0 and QoS1, compatible with AWS IoT Supports stream binding where independent client connections to the same endpoint can mux on a single tcp + tls connection with topic routing managed internally.
24 lines
421 B
Markdown
24 lines
421 B
Markdown
# 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 <conns>|Count of simultaneous connections (default 8)
|
|
-s|Stagger the connections by 100ms, the last by 1s
|
|
-p|Use stream binding
|
|
|
|
|