I’m trying to write a simple XMPP client to communicate with the Ejabberd server in Ubuntu 12.04. But i’ve always a problem during the login step. my code is like that:
ConnectionConfiguration config = new ConnectionConfiguration(“127.0.0.1”,5222,“localhost”);
connection = new XMPPConnection(config);
manager = new FileTransferManager(connection);
and the result is:
anyoen could tell me what’s exactly the problem and how can I fix it? Thank you very much.