Thursday, 04 June 2020
  5 Replies
  1.2K Visits
  Subscribe
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);