index.js
function makeOptionsObj(port, host, inUse, retryTimeMs, timeOutMs) {
    var opts = {};
    opts.port = port;
    opts.host = host;
    opts.inUse = inUse;
    opts.retryTimeMs = retryTimeMs;
    opts.timeOutMs = timeOutMs;
    return opts;
}
function makeOptionsObj(port, host, inUse, retryTimeMs, timeOutMs) {
    var opts = {};
    opts.port = port;
    opts.host = host;
    opts.inUse = inUse;
    opts.retryTimeMs = retryTimeMs;
    opts.timeOutMs = timeOutMs;
    return opts;
}
function makeOptionsObj ( port , host , inUse , retryTimeMs , timeOutMs ) { var opts = { } ; opts . port = port ; opts . host = host ; opts . inUse = inUse ; opts . retryTimeMs = retryTimeMs ; opts . timeOutMs = timeOutMs ; return opts ; }
Creates an options object from all the possible arguments
@private
@param {Number} port a valid TCP port number
@param {String} host The DNS name or IP address.
@param {Boolean} status The desired in use status to wait for: false === not in use, true === in use
@param {Number} retryTimeMs the retry interval in milliseconds - defaultis is 200ms
@param {Number} timeOutMs the amount of time to wait until port is free default is 1000ms
@return {Object} An options object with all the above parameters as properties.
Creates an options object from all the possible arguments