Hello,
why do I need to do this to be sure connection is estabilished with MQTT Broker? (Rabbit fyi)
repeat
FClient.Active := True;
Application.ProcessMessages;
Sleep(100);
inc(i);
if i >= 600 then
Break;
until Assigned(FClient.Connection);
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »