/third_party/node/test/parallel/ |
D | test-dgram-multicast-set-interface.js | 4 const dgram = require('dgram'); constant 7 const socket = dgram.createSocket('udp4'); 19 const socket = dgram.createSocket('udp4'); 31 const socket = dgram.createSocket('udp4'); 51 const socket = dgram.createSocket('udp4'); 65 const socket = dgram.createSocket('udp4'); 85 const socket = dgram.createSocket('udp6'); 99 const socket = dgram.createSocket('udp6'); 113 const socket = dgram.createSocket('udp6');
|
D | test-ref-unref-return.js | 5 const dgram = require('dgram'); constant 11 assert.ok((new dgram.Socket('udp4')).ref() instanceof dgram.Socket); 12 assert.ok((new dgram.Socket('udp6')).unref() instanceof dgram.Socket);
|
D | test-dgram-socket-buffer-size.js | 6 const dgram = require('dgram'); constant 41 const socket = dgram.createSocket('udp4'); 69 const socket = dgram.createSocket('udp4'); 93 const socket = dgram.createSocket('udp4'); 111 const socket = dgram.createSocket('udp4'); 139 const socket = dgram.createSocket('udp4'); 162 const socket = dgram.createSocket('udp4');
|
D | test-dgram-ref.js | 24 const dgram = require('dgram'); constant 27 dgram.createSocket('udp4'); 28 dgram.createSocket('udp6'); 32 const s = dgram.createSocket('udp4');
|
D | test-dgram-close-signal.js | 6 const dgram = require('dgram'); constant 11 () => dgram.createSocket({ type: 'udp4', signal: {} }), 22 const server = dgram.createSocket({ type: 'udp4', signal }); 32 const server = dgram.createSocket({ type: 'udp4', signal });
|
D | test-dgram-createSocket-type.js | 4 const dgram = require('dgram'); constant 27 dgram.createSocket(invalidType); 37 const socket = dgram.createSocket(validType); 43 const socket = dgram.createSocket({
|
D | test-dgram-bind-fd-error.js | 7 const dgram = require('dgram'); constant 16 const socket = dgram.createSocket(TYPE); 19 const anotherSocket = dgram.createSocket(TYPE); 44 const socket = new dgram.createSocket(TYPE);
|
D | test-dgram-custom-lookup.js | 4 const dgram = require('dgram'); constant 13 const socket = dgram.createSocket({ type: 'udp4', lookup }); 29 const socket = dgram.createSocket({ type: 'udp4' }); 40 dgram.createSocket({ type: 'udp4', lookup: value });
|
D | test-dgram-address.js | 25 const dgram = require('dgram'); constant 29 const socket = dgram.createSocket('udp4'); 52 const socket = dgram.createSocket('udp6'); 76 const socket = dgram.createSocket('udp4');
|
D | test-dgram-unref.js | 24 const dgram = require('dgram'); constant 28 const s = dgram.createSocket('udp4'); 35 const s = dgram.createSocket('udp4');
|
D | test-dgram-setBroadcast.js | 5 const dgram = require('dgram'); constant 9 const socket = dgram.createSocket('udp4'); 18 const socket = dgram.createSocket('udp4');
|
D | test-dgram-close-in-listening.js | 6 const dgram = require('dgram'); constant 10 const socket = dgram.createSocket('udp4'); 17 const portGetter = dgram.createSocket('udp4')
|
D | test-dgram-multicast-loopback.js | 4 const dgram = require('dgram'); constant 7 const socket = dgram.createSocket('udp4'); 15 const socket = dgram.createSocket('udp4');
|
D | test-dgram-close-is-not-callback.js | 3 const dgram = require('dgram'); constant 7 const socket = dgram.createSocket('udp4'); 10 const portGetter = dgram.createSocket('udp4')
|
D | test-dgram-bind-error-repeat.js | 3 const dgram = require('dgram'); constant 11 const reservePortSocket = dgram.createSocket('udp4'); 15 const newSocket = dgram.createSocket('udp4');
|
D | test-dgram-ipv6only.js | 7 const dgram = require('dgram'); constant 11 const socket = dgram.createSocket({ 21 const client = dgram.createSocket('udp4');
|
D | test-dgram-implicit-bind.js | 24 const dgram = require('dgram'); constant 26 const source = dgram.createSocket('udp4'); 27 const target = dgram.createSocket('udp4');
|
D | test-cluster-dgram-reuse.js | 8 const dgram = require('dgram'); constant 24 const socket1 = dgram.createSocket(options); 25 const socket2 = dgram.createSocket(options);
|
D | test-dgram-close.js | 29 const dgram = require('dgram'); constant 34 let socket = dgram.createSocket('udp4'); 38 const portGetter = dgram.createSocket('udp4')
|
D | test-dgram-oob-buffer.js | 28 const dgram = require('dgram'); constant 30 const socket = dgram.createSocket('udp4'); 32 const portGetter = dgram.createSocket('udp4')
|
D | test-dgram-bind-default-address.js | 29 const dgram = require('dgram'); constant 31 dgram.createSocket('udp4').bind(0, common.mustCall(function() { 44 dgram.createSocket('udp6').bind(0, common.mustCall(function() {
|
/third_party/libuv/test/ |
D | test-udp-dgram-too-big.c | 60 char dgram[65536]; /* 64K MTU is unlikely, even on localhost */ in TEST_IMPL() local 65 memset(dgram, 42, sizeof dgram); /* silence valgrind */ in TEST_IMPL() 70 buf = uv_buf_init(dgram, sizeof dgram); in TEST_IMPL()
|
/third_party/node/benchmark/dgram/ |
D | bind-params.js | 4 const dgram = require('dgram'); constant 22 dgram.createSocket('udp4').bind(port, address) 30 dgram.createSocket('udp4') 39 dgram.createSocket('udp4')
|
/third_party/node/doc/api/ |
D | dgram.md | 7 <!-- name=dgram --> 9 <!-- source_link=lib/dgram.js --> 11 The `dgram` module provides an implementation of UDP datagram sockets. 14 const dgram = require('dgram'); 15 const server = dgram.createSocket('udp4'); 35 ## Class: `dgram.Socket` 44 New instances of `dgram.Socket` are created using [`dgram.createSocket()`][]. 45 The `new` keyword is not to be used to create `dgram.Socket` instances. 78 The `'listening'` event is emitted once the `dgram.Socket` is addressable and 81 Until the `dgram.Socket` is listening, the underlying system resources do not [all …]
|
/third_party/node/test/internet/ |
D | test-dgram-membership.js | 5 const dgram = require('dgram'); constant 8 const setup = dgram.createSocket.bind(dgram, { type: 'udp4', reuseAddr: true });
|