Open bibhusundarparida opened 8 years ago
S22.Xmpp and Sharp.Xmpp primarly support host names. There is a pending pull request for Sharp.Xmpp that supports connection with IP Addresses. However, IMO, a much better solution is to hardcode a DNS entry at /etc/hosts or the Windows equivelant, assigning a host name to your XMPP server address
Bleow is the code snippet and the error message received XmppClient xmpp = new XmppClient("113.19.87.195", 5222, true, null); xmpp.Username = "nil"; xmpp.Password = "nil"; xmpp.Connect();
ErrorMessage- Unrecoverable stream error: host-unknown