EpicEric / pony-mqtt

:horse: MQTT client in Pony
https://epiceric.github.io/pony-mqtt-docs/mqtt--index/
MIT License
6 stars 1 forks source link

Send multiple messages in a single packet #16

Closed EpicEric closed 6 years ago

EpicEric commented 6 years ago

Most brokers should be able to handle multiple MQTT messages in a single TCP packet, so long as it doesn't go over MTU. This should improve network usage by clients publishing multiple messages at once (for example, on Homie device startup).

EpicEric commented 6 years ago

Closing this as the Pony runtime apparently handles this correctly behind the scenes.