I will rebase on master once #76 is merged and add a unit test to make sure that open is emitted on reconnect and that socketError is emitted when an error occurs on the TCP or UDP socket.
This is potentially a breaking change since previously the UDP socket emitted an error event. The new behavior is more friendly since it won't close/end the stream. Please note that it's still possible to obtain the previous behavior using:
Follow-up of #76
I will rebase on master once #76 is merged and add a unit test to make sure that
open
is emitted on reconnect and thatsocketError
is emitted when an error occurs on the TCP or UDP socket.This is potentially a breaking change since previously the UDP socket emitted an
error
event. The new behavior is more friendly since it won't close/end the stream. Please note that it's still possible to obtain the previous behavior using: