Home
last modified time | relevance | path

Searched refs:sendSocket (Results 1 – 5 of 5) sorted by relevance

/third_party/node/test/internet/
Dtest-dgram-multicast-multi-process.js42 let listening, sendSocket, done, timer, dead; variable
78 sendSocket.sendNext();
154 sendSocket = dgram.createSocket('udp4');
157 sendSocket.on('listening', function() {
158 sendSocket.setTTL(1);
159 sendSocket.setBroadcast(true);
160 sendSocket.setMulticastTTL(1);
161 sendSocket.setMulticastLoopback(true);
162 sendSocket.setMulticastInterface(LOCAL_HOST_IFADDR);
165 sendSocket.on('close', function() {
[all …]
Dtest-dgram-multicast-ssmv6-multi-process.js21 let listening, sendSocket, done, timer, dead; variable
72 sendSocket.sendNext();
148 sendSocket = dgram.createSocket('udp6');
151 sendSocket.on('listening', function() {
152 sendSocket.setTTL(1);
153 sendSocket.setBroadcast(true);
154 sendSocket.setMulticastTTL(1);
155 sendSocket.setMulticastLoopback(true);
156 sendSocket.addSourceSpecificMembership(sourceAddress, GROUP_ADDRESS);
159 sendSocket.on('close', function() {
[all …]
Dtest-dgram-multicast-ssm-multi-process.js21 let listening, sendSocket, done, timer, dead; variable
72 sendSocket.sendNext();
148 sendSocket = dgram.createSocket('udp4');
151 sendSocket.on('listening', function() {
152 sendSocket.setTTL(1);
153 sendSocket.setBroadcast(true);
154 sendSocket.setMulticastTTL(1);
155 sendSocket.setMulticastLoopback(true);
156 sendSocket.addSourceSpecificMembership(sourceAddress, GROUP_ADDRESS);
159 sendSocket.on('close', function() {
[all …]
Dtest-dgram-broadcast-multi-process.js119 sendSocket.sendNext();
167 const sendSocket = dgram.createSocket({ constant
174 sendSocket.bind(common.PORT, bindAddress);
175 sendSocket.on('listening', () => {
176 sendSocket.setBroadcast(true);
179 sendSocket.on('close', () => {
183 sendSocket.sendNext = function() {
187 try { sendSocket.close(); } catch {
193 sendSocket.send(
205 process.nextTick(sendSocket.sendNext);
Dtest-dgram-multicast-set-interface-lo.js153 sendSocket.sendNext();
202 const sendSocket = dgram.createSocket({ constant
209 sendSocket.bind(common.PORT, ANY[FAM]);
210 sendSocket.on('listening', () => {
214 sendSocket.on('close', () => {
218 sendSocket.sendNext = () => {
222 sendSocket.close();
229 sendSocket.setMulticastInterface(msg.newAddr);
231 sendSocket.send(
243 process.nextTick(sendSocket.sendNext);