opaque_data()to allow for the storage of arbitrary data with the peer. The main purpose of this is to allow the user to store extra data (a scalar or ref) with the peer that is then readable by the call back routines. I realise there are other ways to do this, but this seems much cleaner.
_close_session()even if the socket is not open. This will finally terminate the session properly (stops some weird loops).
_cease()when the peer socket is closed.
Please login to add feedback.