Subject: S2S communication
Hi Alex,
I'm trying to extend the agsXMPP server sample a bit and let it talk to an openfire server.
I think agsXMPP Lib does not implement S2S communication yet. So, my idea is to follow the XmppClientConnection class, I will create XmppS2SOutgoingConnection which also inherits from XmppConnection class. I found two issues here,
1.DoChangeXmppConnectionState() is an internal method of XmppClientConnection class, so I have to put my class inside the agsXMPP.dll assembly.
2.ClientSocket::InitSSL() does not give me the chance to provide server certificate unless I modify the code , which I don't want.
My question is, is my idea a right approach to add server to server communication to the sample?
Thanks,
Bill
I'm trying to extend the agsXMPP server sample a bit and let it talk to an openfire server.
I think agsXMPP Lib does not implement S2S communication yet. So, my idea is to follow the XmppClientConnection class, I will create XmppS2SOutgoingConnection which also inherits from XmppConnection class. I found two issues here,
1.DoChangeXmppConnectionState() is an internal method of XmppClientConnection class, so I have to put my class inside the agsXMPP.dll assembly.
2.ClientSocket::InitSSL() does not give me the chance to provide server certificate unless I modify the code , which I don't want.
My question is, is my idea a right approach to add server to server communication to the sample?
Thanks,
Bill