Configure One client in Publisher and Subscriber Both

22 views
Skip to first unread message

milav...@teqdiligent.com

unread,
Jun 26, 2017, 7:47:54 AM6/26/17
to MQTT


Hello,

I am Milav From TeqDiligent.

I have one Question about MQTT-mosquitto Connection,

I want to Connect same one Client to the MQTT Broker with both functionality PUB and SUB.

Both functionality can run parallel ... can this is Possible ? how?

Please Give me a Correct Way...

Thank You.

Thomas

unread,
Jun 27, 2017, 8:50:21 AM6/27/17
to MQTT
Hi Milav,

You can use one client to do both a publish and a subscribe.  Have a look at the mosquitto docs on which API's to call.

Thomas

ps. please note that this group is about the protocol, not implementation specific.
Reply all
Reply to author
Forward
0 new messages