TTMSMQTT Not function under radserver (IIS)
Somehow the created .bpl does not work (just freezes when called).
It works under the EMS RAD Development server,
Brought it back to just simple code for connect
LogExInfo('SetUpMQTTClient() step 1');
try
try
_mqtclient := TTMSMQTTClient.Create(nil);
_mqtclient.BrokerHostName := 'testserver01';
_mqtclient.BrokerPort := 1883;
// _mqtclient.
_mqtclient.Connect(True);
except
on e: exception do
LogExeceptions(e, 'Error connecting MQTT', CNST_RESOURCEMAINNAME + '.SetUpMQTTClient()');
end;
finally
LogExInfo('SetUpMQTTClient() finsished');
end;