i am getting disconnected (smack 3.2.0 and openfire 3.7.0) after a while even though i have set openfire to not disconnect users. i was reading on the internet a bit about XMPP ping and pong, and also, from reading this page, http://community.igniterealtime.org/docs/DOC-2053, it seems that the client can send regular “heartbeat” packets to the server.
how can i do send regular heartbeat packets to the server so it won’t disconnect me?
also, i read this page, http://code.google.com/p/asmack/issues/detail?id=47, and one user gives some teasing information on how to implement the ping pong process (on the client), but not enough details for me to actually go. will this make a difference in keeping my connection alive if i persue this route?