nit: Two duplicate `dbg` statements is the beginning of a code smell. Maybe conditionally set the 'index' for `this.udpClients` or `this.netClients`, and then you'll only have to call `send` once. Otherwise, indicate in the `dbg` message whether its TCP or UDP so it's not exactly the same :)