difference between XMPP servername and XMPP servicename?
问题 In Smack API, there is a configuration class for connection, described at this page ConnectionConfiguration I am confused about the distinction between service name and server name. Suppose I have a computer named "mybox.mydomain.com", and I have ejabberd on it with a configured host called "myhost" (using the line {hosts, ["myhost"]}. in ejabbed.cfg), what is the host name, server name and service name in this case? 回答1: myhost: service name (or XMPP domain) mybox.mydomain.com: hostname and