Subject: Using http when hostname and domain are different...
I'm wondering how the tutorial example of BOSH would look different if the domain and hostname properties of the xmpp client are different.
All that would need to be done is set the Hostname property?
or does the Uri have to change as well?
Second question - is it possible for a server to not require a password for a client connecting? If so, should the password field be set to an empty string or something like that?
xmppClient.SetUsername("username");
xmppClient.SetXmppDomain("ag-software.de");
xmppClient.Password = "secret";
xmppClient.Transport = Matrix.Net.Transport.BOSH;
xmppClient.Uri = new System.Uri("http://ag-software.de:5280/http-bind/");
xmppClient.Status = "I'm chatty";
xmppClient.Show = Matrix.Xmpp.Show.chat;
xmppClient.Open();
xmppClient.SetXmppDomain("ag-software.de");
xmppClient.Password = "secret";
xmppClient.Transport = Matrix.Net.Transport.BOSH;
xmppClient.Uri = new System.Uri("http://ag-software.de:5280/http-bind/");
xmppClient.Status = "I'm chatty";
xmppClient.Show = Matrix.Xmpp.Show.chat;
xmppClient.Open();
All that would need to be done is set the Hostname property?
xmppClient.SetUsername("username");
xmppClient.SetXmppDomain("ag-software.de");
xmppClient.Password = "secret";
xmppClient.Transport = Matrix.Net.Transport.BOSH;
/****/xmppClient.Hostname = "187.23.45.62";
xmppClient.Uri = new System.Uri("http://ag-software.de:5280/http-bind/");
xmppClient.Status = "I'm chatty";
xmppClient.Show = Matrix.Xmpp.Show.chat;
xmppClient.Open();
xmppClient.SetXmppDomain("ag-software.de");
xmppClient.Password = "secret";
xmppClient.Transport = Matrix.Net.Transport.BOSH;
/****/xmppClient.Hostname = "187.23.45.62";
xmppClient.Uri = new System.Uri("http://ag-software.de:5280/http-bind/");
xmppClient.Status = "I'm chatty";
xmppClient.Show = Matrix.Xmpp.Show.chat;
xmppClient.Open();
or does the Uri have to change as well?
Second question - is it possible for a server to not require a password for a client connecting? If so, should the password field be set to an empty string or something like that?