SocketListener.addOnEvent

Emitted when @listener's activity on @socket changes state. Note that when @listener is used to listen on both IPv4 and IPv6, a separate set of signals will be emitted for each, and the order they happen in is undefined.

class SocketListener
addOnEvent

Meta

Since

2.46