I’m implementing an xmpp client (in Java). Is it possible for the client, prior to connecting to server, to check if the connection for the given JID already exists?
According to the: can client of the xmpp server disconnect other client from the server? , server usually disconnects the old connection if the same full jid in the form “user@host/resource” connects from two different sources. If the user connects from eg. Pidgin, web client and my client, won’t “resource” always be different? Is it possible to check with the server if the connection for the jid in the form “user@host” already exists, disregarding the resource part?
I’m implementing an xmpp client (in Java). Is it possible for the client, prior
Share
You can connect with user@host/XXX and then after sending a presence message to your own Bare Jid (user@host) you should receive presence messages from any other client connected with the same Bare Jid (user@host).