[jdev] Detecting multiple resource connections
stpeter at jabber.org
Tue Apr 26 16:09:41 CDT 2005
On Tue, Apr 26, 2005 at 05:35:54PM -0300, Carolina Ardohain wrote:
> Is there a way to detect multiple resource connections? I want to run
> a bot that connect to the server but it need to detect if connected
> with same resource and try to connect again with other.
If you try to log in as a resource and that resource already is logged
in, most servers will boot the old resource and connect the new one.
It's rather hard to discover if a resource is being used if you're not
connected. You would need to connect (and thus provide a resource)
before you could query anything via XMPP. And at that point it is too
More information about the JDev