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@server2). If there's no federation, you'll receive a remote-server-not-found error. Peter -- Peter Saint-Andre https://stpeter.im/ _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org _______________________________________________