Home
last modified time | relevance | path

Searched refs:dgram (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/node/test/parallel/
Dtest-dgram-multicast-set-interface.js4 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');
Dtest-ref-unref-return.js5 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);
Dtest-dgram-socket-buffer-size.js6 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');
Dtest-dgram-ref.js24 const dgram = require('dgram'); constant
27 dgram.createSocket('udp4');
28 dgram.createSocket('udp6');
32 const s = dgram.createSocket('udp4');
Dtest-dgram-close-signal.js6 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 });
Dtest-dgram-createSocket-type.js4 const dgram = require('dgram'); constant
27 dgram.createSocket(invalidType);
37 const socket = dgram.createSocket(validType);
43 const socket = dgram.createSocket({
Dtest-dgram-bind-fd-error.js7 const dgram = require('dgram'); constant
16 const socket = dgram.createSocket(TYPE);
19 const anotherSocket = dgram.createSocket(TYPE);
44 const socket = new dgram.createSocket(TYPE);
Dtest-dgram-custom-lookup.js4 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 });
Dtest-dgram-address.js25 const dgram = require('dgram'); constant
29 const socket = dgram.createSocket('udp4');
52 const socket = dgram.createSocket('udp6');
76 const socket = dgram.createSocket('udp4');
Dtest-dgram-unref.js24 const dgram = require('dgram'); constant
28 const s = dgram.createSocket('udp4');
35 const s = dgram.createSocket('udp4');
Dtest-dgram-setBroadcast.js5 const dgram = require('dgram'); constant
9 const socket = dgram.createSocket('udp4');
18 const socket = dgram.createSocket('udp4');
Dtest-dgram-close-in-listening.js6 const dgram = require('dgram'); constant
10 const socket = dgram.createSocket('udp4');
17 const portGetter = dgram.createSocket('udp4')
Dtest-dgram-multicast-loopback.js4 const dgram = require('dgram'); constant
7 const socket = dgram.createSocket('udp4');
15 const socket = dgram.createSocket('udp4');
Dtest-dgram-close-is-not-callback.js3 const dgram = require('dgram'); constant
7 const socket = dgram.createSocket('udp4');
10 const portGetter = dgram.createSocket('udp4')
Dtest-dgram-bind-error-repeat.js3 const dgram = require('dgram'); constant
11 const reservePortSocket = dgram.createSocket('udp4');
15 const newSocket = dgram.createSocket('udp4');
Dtest-dgram-ipv6only.js7 const dgram = require('dgram'); constant
11 const socket = dgram.createSocket({
21 const client = dgram.createSocket('udp4');
Dtest-dgram-implicit-bind.js24 const dgram = require('dgram'); constant
26 const source = dgram.createSocket('udp4');
27 const target = dgram.createSocket('udp4');
Dtest-cluster-dgram-reuse.js8 const dgram = require('dgram'); constant
24 const socket1 = dgram.createSocket(options);
25 const socket2 = dgram.createSocket(options);
Dtest-dgram-close.js29 const dgram = require('dgram'); constant
34 let socket = dgram.createSocket('udp4');
38 const portGetter = dgram.createSocket('udp4')
Dtest-dgram-oob-buffer.js28 const dgram = require('dgram'); constant
30 const socket = dgram.createSocket('udp4');
32 const portGetter = dgram.createSocket('udp4')
Dtest-dgram-bind-default-address.js29 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/
Dtest-udp-dgram-too-big.c60 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/
Dbind-params.js4 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/
Ddgram.md7 <!-- 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/
Dtest-dgram-membership.js5 const dgram = require('dgram'); constant
8 const setup = dgram.createSocket.bind(dgram, { type: 'udp4', reuseAddr: true });

123456