TcpListener.onError
Set the error callback for accept failures.
Fires when an accept operation fails. The listener remains usable after transient errors. Non-reentrant. Thread affinity: event loop thread only.
Parameters
callback | Callback invoked when an accept operation fails. |