Subject: Bosh / Mobile 6
Is Bosh supported in the CF version of the Matrix libs? I basically have a standard ejabbard server and am trying to simply validate bosh functionality in Matrix.
In the sample client, I have modified mnuLogin_Click in frmLogin.cs to:
I would have expected the onError event to at least raise in this case, but no such luck. No connection is made, and the XML debug outputs nothing but the initial send stream:
Navigating to the URI in a browser on my WinMo6 emulator gives me the standard ejabberd mod_http_bind v1.2 web page. I have used the same code in the .NET version of the matrix libs with no problems (per other threads in the .NET forum).
In the sample client, I have modified mnuLogin_Click in frmLogin.cs to:
private void mnuLogin_Click(object sender, System.EventArgs e)
{
var jid = new Jid(txtJid.Text);
_xmppClient.XmppDomain = jid.Server;
_xmppClient.Username = jid.User;
_xmppClient.Password = txtPassword.Text;
_xmppClient.Hostname = myHostIP
_xmppClient.Transport = Matrix.Net.Transport.BOSH;
_xmppClient.Uri = new System.Uri("http://" + myHostIP + ":5280/http-bind/");
{
var jid = new Jid(txtJid.Text);
_xmppClient.XmppDomain = jid.Server;
_xmppClient.Username = jid.User;
_xmppClient.Password = txtPassword.Text;
_xmppClient.Hostname = myHostIP
_xmppClient.Transport = Matrix.Net.Transport.BOSH;
_xmppClient.Uri = new System.Uri("http://" + myHostIP + ":5280/http-bind/");
I would have expected the onError event to at least raise in this case, but no such luck. No connection is made, and the XML debug outputs nothing but the initial send stream:
SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="eureka" version="1.0" >
Navigating to the URI in a browser on my WinMo6 emulator gives me the standard ejabberd mod_http_bind v1.2 web page. I have used the same code in the .NET version of the matrix libs with no problems (per other threads in the .NET forum).