[jdev] Federation discovery problem

Peter Saint-Andre stpeter at stpeter.im
Wed May 16 12:32:50 UTC 2012


On 5/16/12 5:40 AM, Dariusz Kiełkowski wrote:
> Hi all,
> 
> I'm writing application which main purpose is to connect to xmpp
> server. Lest suppose that I have account on server1.com, friend of
> mine, have account on server2.com how do I know, how may I check,
> that they can communicate each other?

Just initiate communication with server2 or an account on that server
(e.g., send a service discovery request to server2 or a presence
subscription request to someuser at server2). If there's no federation,
you'll receive a remote-server-not-found error.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




More information about the JDev mailing list