Subject: Send Messages between two Servers and Clients
Hi,
I have a problem figuring out how to send messages between two clients on two different servers, all of them are self-written using the examples found in https://gitlab.com/matrix-xmpp/samples.
I know there is a static "Global"-class in the samples which holds a list of XmppServerConnections. But this "List" only knows the connection of its server itself, not the other one; which is correct, because the two servers and clients are seperate processes, why should they know eachother without telling them.
So how do I connect Client A and Server A to Server B and Client B?
Is there something like a "XMPP-Server-Service resolver" if I have the IP and Port Server A and B are bound to?
I have a problem figuring out how to send messages between two clients on two different servers, all of them are self-written using the examples found in https://gitlab.com/matrix-xmpp/samples.
I know there is a static "Global"-class in the samples which holds a list of XmppServerConnections. But this "List" only knows the connection of its server itself, not the other one; which is correct, because the two servers and clients are seperate processes, why should they know eachother without telling them.
So how do I connect Client A and Server A to Server B and Client B?
Is there something like a "XMPP-Server-Service resolver" if I have the IP and Port Server A and B are bound to?