Subject: | on_disconnect not triggered when client closes socket |
As suggested in http://stackoverflow.com/questions/26942050/perl-how-do-i-know-when-socket-client-is-disconnected-when-user-closes-window
It appears that the $conn->disconnect is only triggered when the server initiates a disconnect. Is there any way to have this triggered in cases where the client closes the connection?