(address, port)
| 279 | } |
| 280 | |
| 281 | function lookupService(address, port) { |
| 282 | if (arguments.length !== 2) |
| 283 | throw new ERR_MISSING_ARGS('address', 'port'); |
| 284 | |
| 285 | if (isIP(address) === 0) |
| 286 | throw new ERR_INVALID_ARG_VALUE('address', address); |
| 287 | |
| 288 | validatePort(port); |
| 289 | |
| 290 | return createLookupServicePromise(address, +port); |
| 291 | } |
| 292 | |
| 293 | |
| 294 | function onresolve(err, result, ttls) { |
no test coverage detected
searching dependent graphs…