You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();
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
The text was updated successfully, but these errors were encountered: