lib/client.js
function Client(arg, port) {
  if (this instanceof Client === false) {
    return new Client(arg, port);
  }

  if (arg === undefined) {
    throw new TypeError('arg should be a host address, name or universe');
  }

  this.host = Number.isInteger(arg) ? e131.getMulticastGroup(arg) : arg;
  this.port = port || e131.DEFAULT_PORT;
  this._socket = dgram.createSocket('udp4');
}
function Client(arg, port) {
  if (this instanceof Client === false) {
    return new Client(arg, port);
  }

  if (arg === undefined) {
    throw new TypeError('arg should be a host address, name or universe');
  }

  this.host = Number.isInteger(arg) ? e131.getMulticastGroup(arg) : arg;
  this.port = port || e131.DEFAULT_PORT;
  this._socket = dgram.createSocket('udp4');
}
function Client ( arg , port ) { if ( this instanceof Client === false ) { return new Client ( arg , port ) ; } if ( arg === undefined ) { throw new TypeError ( 'arg should be a host address, name or universe' ) ; } this . host = Number . isInteger ( arg ) ? e131 . getMulticastGroup ( arg ) : arg ; this . port = port || e131 . DEFAULT_PORT ; this . _socket = dgram . createSocket ( 'udp4' ) ; }
E1.31 client object constructor
E1 . 31 client object constructor