Set "destroyed" handler.
The socket handle.
Callback function.
Optional
Optional developer supplied value.
Generated using TypeDoc
Set "destroyed" handler.