title: Send MQTT message from the android client to all the clients through MQTT broker
body: <p>I need MQTT broker to publish the received MQTT message from the Android client to all other clients so added mosquitto pub command in the body of the message.</p>
  <pre><code>publish(client,&quot;mosquitto_pub -h 192.34.63.138 -t fromApp -m &quot;Turn&quot; -d &quot;);
  </code></pre>
  <p>It is giving error that &quot;Can't resolve symbol &quot;Turn&quot; and ; or ) expected&quot; .</p>
  <p><strong><strong>Update</strong></strong></p>
  <p>I understood it correctly later. I actually needed an MQTT message from the android client to be sent to all other clients so I thought to include publish keyword in the message body which was quite wrong. The MQTT itself sends the received messages to all the clients provided if the clients have subscribed to that topic.Hopefully, it will help other readers.</p>