()
| 18 | } |
| 19 | |
| 20 | function hasMultiLocalhost() { |
| 21 | const { internalBinding } = require('internal/test/binding'); |
| 22 | const { TCP, constants: TCPConstants } = internalBinding('tcp_wrap'); |
| 23 | const t = new TCP(TCPConstants.SOCKET); |
| 24 | const ret = t.bind('127.0.0.2', 0); |
| 25 | t.close(); |
| 26 | return ret === 0; |
| 27 | } |
| 28 | |
| 29 | module.exports = { |
| 30 | checkSupportReusePort, |
no test coverage detected
searching dependent graphs…