mirror of
https://github.com/boostorg/mqtt5.git
synced 2026-05-04 11:54:13 +02:00
Update examples, tests & docs
Summary: related to T13242 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D26889
This commit is contained in:
@@ -20,7 +20,7 @@ asio::awaitable<void> client_publisher(asio::io_context& ioc) {
|
||||
|
||||
// Configure the ``__Client__``.
|
||||
// It is mandatory to call brokers() and run() to configure the Brokers to connect to and start the Client.
|
||||
client.brokers("mqtt.mireo.local", 1883) // Broker that we want to connect to. 1883 is the default TCP port.
|
||||
client.brokers("mqtt.broker", 1883) // Broker that we want to connect to. 1883 is the default TCP port.
|
||||
.run(); // Start the client.
|
||||
|
||||
// Publish an Application Message with QoS 1.
|
||||
|
||||
Reference in New Issue
Block a user