powered by Jive Software

Flushing an XMPPConnection?

I’‘ve noticed that sometimes when I close a connection immediately after sending a message the message gets dropped. I can prevent this by having it sleep half a second or so between when it sends the message and when I call close(), but that seems to be a little sloppy. Is there a better way of making sure the connection’'s send queue is empty before closing it?

Thanks,

George

George,

Thanks for the bug report. I’'ll create a bug issue to be solved for the next release.

Thanks,

– Gato