Commit 8835512f authored by Marcel Stör's avatar Marcel Stör
Browse files

Fix connect() params in example

parent 30f706fb
......@@ -82,7 +82,7 @@ m:on("overflow", function(client, topic, data)
end)
-- for TLS: m:connect("192.168.11.118", secure-port, 1)
m:connect("192.168.11.118", 1883, 0, function(client)
m:connect("192.168.11.118", 1883, false, function(client)
print("connected")
-- Calling subscribe/publish only makes sense once the connection
-- was successfully established. You can do that either here in the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment