I am a newer of smack and I use jive_messenger as a server ,and smack as a client package.
I run the code as a java program the code like this:
= new XMPPConnection(“jabber.org”);
I can send message successful ,but how can I recieve the message!?