[jdev] Detecting multiple resource connections

Bob Gilson bgilson at jabber.com
Tue Apr 26 16:57:00 CDT 2005

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.
>I'm using jabberd2s8 as server.

Why not use two accounts: checker and bot?  Put bot on checker's roster.
Login as checker and see if bot is present. If so, exit. Otherwise,
logout and login as bot.


More information about the JDev mailing list