Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.server.listen(opts.port, function () {
self.port = self.server.address().port
debug('IPP printer "%s" listening on port %s', self.name, self.port)
if (opts.zeroconf) bonjour.tcp.publish({ type: 'ipp', port: self.port, name: self.name })
})