Subject: | only ping server if no traffic since last ping |
It seems wasteful to pint the server if you you have received traffic
since the last ping/pong. The POE IRC reconnecter keeps track a "seen
traffic" flag between each ping and doesn't send the ping if the flag is
set.
http://poe.perl.org/?POE_Cookbook/IRC_Bot_Reconnecting
I'm not sure if this should replace the current ping functionality or
not. Would this be worth adding? Or is it something people should be
doing themselves?