Even though I understand that the author(s) are not
very happy with actively sending keepalive messages, I
have found that WirelessIRC's keepalive strategy works
wonders. It can be configured to send IRC protocol ping
every 0.5 .. 2 minutes, and every time there is a cell
change. I do not know whether cell info is available to
MIDlets, but having either (or both) of these has
enabled me to keep WirelessIRC up and running in very
demanding network conditions for 48 hours.
Therefore, it might be something to consider. It would
also help to detect sockets that have just died
upstream (and therefore trigger a reconnection, if
Log in to post a comment.