(err, hostname, service)
| 255 | |
| 256 | |
| 257 | function onlookupservice(err, hostname, service) { |
| 258 | if (err) |
| 259 | return this.callback(new DNSException(err, 'getnameinfo', this.hostname)); |
| 260 | |
| 261 | this.callback(null, hostname, service); |
| 262 | if (this[kPerfHooksDnsLookupServiceContext] && hasObserver('dns')) { |
| 263 | stopPerf(this, kPerfHooksDnsLookupServiceContext, { detail: { hostname, service } }); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | |
| 268 | function lookupService(address, port, callback) { |
nothing calls this directly
no test coverage detected