Home
last modified time | relevance | path

Searched refs:addressType (Results 1 – 17 of 17) sorted by relevance

/third_party/node/test/parallel/
Dtest-net-dns-custom-lookup.js6 function check(addressType, cb) { argument
13 const address = addressType === 4 ? common.localhostIPv4 : '::1';
18 family: addressType,
23 assert.strictEqual(type, addressType);
28 dnsopts.family = addressType;
29 if (addressType === 4) {
Dtest-c-ares.js46 dns.lookup(null, common.mustSucceed((result, addressType) => {
48 assert.strictEqual(addressType, 4);
51 dns.lookup('127.0.0.1', common.mustSucceed((result, addressType) => {
53 assert.strictEqual(addressType, 4);
56 dns.lookup('::1', common.mustSucceed((result, addressType) => {
58 assert.strictEqual(addressType, 6);
Dtest-dns-lookup.js119 }, common.mustSucceed((result, addressType) => {
121 assert.strictEqual(addressType, undefined);
128 }, common.mustSucceed((result, addressType) => {
133 assert.strictEqual(addressType, undefined);
140 }, common.mustSucceed((result, addressType) => {
142 assert.strictEqual(addressType, 4);
148 dns.lookup('example.com', common.mustCall((error, result, addressType) => {
Dtest-net-dns-lookup-skip.js5 function check(addressType) { argument
11 const address = addressType === 4 ? '127.0.0.1' : '::1';
Dtest-cluster-net-listen-ipv6only-false.js28 assert.strictEqual(address.addressType, workerAddress.addressType);
Dtest-cluster-basic.js133 assert.strictEqual(arguments[0].addressType, 4);
/third_party/node/lib/internal/cluster/
Dshared_handle.js9 function SharedHandle(key, address, { port, addressType, fd, flags }) { property
16 if (addressType === 'udp4' || addressType === 'udp6')
17 rval = dgram._createSocketHandle(address, port, addressType, fd, flags);
19 rval = net._createServerHandle(address, port, addressType, fd, flags);
Dmaster.js282 const key = `${message.address}:${message.port}:${message.addressType}:` +
304 message.addressType === 'udp4' ||
305 message.addressType === 'udp6') {
335 addressType: message.addressType, property
Dchild.js72 options.addressType,
/third_party/node/lib/
Dnet.js879 self, address, port, addressType, localAddress, localPort, flags) { argument
888 if (addressType === 4) {
896 localAddress, localPort, addressType);
906 if (addressType === 6 || addressType === 4) {
914 if (addressType === 4)
1018 const addressType = isIP(host);
1019 if (addressType) {
1025 self, host, port, addressType, localAddress, localPort
1054 lookup(host, dnsopts, function emitLookup(err, ip, addressType) { argument
1055 self.emit('lookup', err, ip, addressType, host);
[all …]
Ddgram.js274 addressType: this.type, property
342 addressType: this.type, property
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js573 const addressType = header[3];
577 if (addressType === constants_1.Socks5HostType.IPv4) {
595 else if (addressType === constants_1.Socks5HostType.Hostname) {
611 else if (addressType === constants_1.Socks5HostType.IPv6) {
662 const addressType = header[3];
666 if (addressType === constants_1.Socks5HostType.IPv4) {
684 else if (addressType === constants_1.Socks5HostType.Hostname) {
700 else if (addressType === constants_1.Socks5HostType.IPv6) {
/third_party/node/lib/internal/
Ddgram.js59 function _createSocketHandle(address, port, addressType, fd, flags) { argument
60 const handle = newHandle(addressType);
Derrors.js1007 E('ERR_INVALID_ADDRESS_FAMILY', function(addressType, host, port) { argument
1010 return `Invalid address family: ${addressType} ${host}:${port}`;
/third_party/node/test/sequential/
Dtest-cluster-net-listen-ipv6only-none.js25 assert.strictEqual(workerAddress.addressType, 6);
/third_party/node/doc/api/
Dcluster.md590 properties: `address`, `port` and `addressType`. This is very useful if the
600 The `addressType` is one of:
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md4041 …thub.com/nodejs/node/commit/4035cbe631)] - **cluster**: removed unused addressType argument from c…