hi
i have created a broker like explained in this post:
but when i want to connect a client it is not clear to me how i should do it.
if i try to connect to the pc ip with tcp://10.0.0.12:51041 from my android phone it doesnot work.
for now i am trying to do it in a private network but the idea is to run the broker on my mac and connect to it from clients via public ip.
any help is very much appreciated.
thanx
i have created a broker like explained in this post:
MqttBroker
jMqttBroker library is based on the moquette open source project: https://github.com/andsel/moquette It implements a MQTT broker. If you are not familiar with MQTT then start with this tutorial: https://www.b4x.com/android/forum/threads/59471/#content The broker is like a "black box". It is...
www.b4x.com
but when i want to connect a client it is not clear to me how i should do it.
if i try to connect to the pc ip with tcp://10.0.0.12:51041 from my android phone it doesnot work.
for now i am trying to do it in a private network but the idea is to run the broker on my mac and connect to it from clients via public ip.
any help is very much appreciated.
thanx