I am trying to use Google's libjingle framework and need to broadcast a query from a client to other signed-in clients.
Is the correct way to do this with the IQ protocol (http://xmpp.org/extensions/xep-0099.html), the presence protocol (http://xmpp.org/rfcs/rfc3921.html) or just by looping through the relevant clients and sending a direct message?