Could it be, that smack don''t send messages the first time?

I create a Message and set “to” and “body” and so on, and then i send the Message with connection.sendPacket(Message);

Sometime the receiver doesn’'t get message. But when I send another messages, the receiver gets two messages.

Maybe there are any special chars in the Body of the message…

Could it be?

how can i control if a message is successfully send?

Hi,

What timeout are you using in the receiver to read messages?

Regards,

Francisco