(family)
| 1502 | }; |
| 1503 | |
| 1504 | function socketToDnsFamily(family) { |
| 1505 | switch (family) { |
| 1506 | case 'IPv4': |
| 1507 | return 4; |
| 1508 | case 'IPv6': |
| 1509 | return 6; |
| 1510 | } |
| 1511 | |
| 1512 | return family; |
| 1513 | } |
| 1514 | |
| 1515 | function lookupAndConnect(self, options) { |
| 1516 | const { localAddress, localPort } = options; |
no outgoing calls
no test coverage detected
searching dependent graphs…