Home
last modified time | relevance | path

Searched refs:listening (Results 1 - 20 of 20) sorted by relevance

/third_party/node/test/internet/
H A Dtest-dgram-multicast-multi-process.js42 let listening, sendSocket, done, timer, dead;
73 if (msg.listening) {
74 listening += 1;
76 if (listening === listeners) {
77 // All child process are listening, so start sending.
133 listening = 0;
157 sendSocket.on('listening', function() {
203 listenSocket.on('listening', function() {
231 process.send({ listening: true });
H A Dtest-dgram-multicast-ssmv6-multi-process.js21 let listening, sendSocket, done, timer, dead;
67 if (msg.listening) {
68 listening += 1;
70 if (listening === listeners) {
71 // All child process are listening, so start sending.
127 listening = 0;
151 sendSocket.on('listening', function() {
197 listenSocket.on('listening', function() {
227 process.send({ listening: true });
H A Dtest-dgram-multicast-ssm-multi-process.js21 let listening, sendSocket, done, timer, dead;
67 if (msg.listening) {
68 listening += 1;
70 if (listening === listeners) {
71 // All child process are listening, so start sending.
127 listening = 0;
151 sendSocket.on('listening', function() {
197 listenSocket.on('listening', function() {
227 process.send({ listening: true });
H A Dtest-dgram-broadcast-multi-process.js61 let listening = 0;
114 if (msg.listening) {
115 listening += 1;
117 if (listening === listeners) {
118 // All child process are listening, so start sending
175 sendSocket.on('listening', () => {
250 listenSocket.on('listening', () => { process.send({ listening: true }); });
H A Dtest-dgram-multicast-set-interface-lo.js81 let listening = 0;
148 if (msg.listening) {
149 listening += 1;
151 if (listening === listeners) {
152 // All child process are listening, so start sending.
210 sendSocket.on('listening', () => {
284 listenSocket.on('listening', () => {
286 process.send({ listening: true });
/third_party/node/test/parallel/
H A Dtest-cluster-basic.js61 listening: false,
67 listening: false,
75 listening: false,
80 listening: false,
86 listening: false,
112 // Kill worker when listening
113 cluster.on('listening', common.mustCall(() => {
142 case 'listening': {
H A Dtest-https-strict.js88 server1.listen(0, listening());
89 server2.listen(0, listening());
90 server3.listen(0, listening());
110 function listening() { function
H A Dtest-cluster-dgram-1.js41 let listening = 0;
47 // Wait until all workers are listening.
48 cluster.on('listening', common.mustCall((worker, address) => {
49 if (++listening < NUM_WORKERS)
97 // Create udp socket and start listening.
H A Dtest-cluster-dgram-bind-fd.js32 let listening = 0;
38 // Wait until all workers are listening.
39 cluster.on('listening', common.mustCall((worker, address) => {
40 if (++listening < NUM_WORKERS)
94 // Create udp socket and start listening.
H A Dtest-async-hooks-http-parser-destroy.js41 if (destroyedIdsIncomingMessage.length === N && server.listening) {
H A Dtest-https-hwm.js37 console.log(`test https server listening on port ${this.address().port}`);
H A Dtest-inspector-port-zero.js22 assert.match(stderr, /Debugger listening on (.+)/);
H A Dtest-domain-http-server.js68 debug(`listening on localhost:${port}`);
H A Dtest-listen-fd-cluster.js51 // WARNING: This is an example of listening on some arbitrary FD number
88 console.error(`server listening on ${port}`);
145 console.error('worker listening on fd=3');
H A Dtest-net-connect-options-allowhalfopen.js100 console.log(`Server started listening at ${host}:${port}`);
/third_party/node/test/sequential/
H A Dtest-dgram-pingpong.js17 server.on('listening', function() {
18 console.log(`server listening on ${port}`);
/third_party/node/lib/internal/cluster/
H A Dprimary.js100 if (worker.state === 'online' || worker.state === 'listening') {
243 listening,
324 function listening(worker, message) { function
332 worker.state = 'listening';
333 worker.emit('listening', info);
334 cluster.emit('listening', worker, info);
/third_party/node/lib/internal/util/
H A Dinspector.js19 const kInspectMsgRegex = /Debugger listening on ws:\/\/\[?(.+?)\]?:(\d+)\/|For help, see: https:\/\/nodejs\.org\/en\/docs\/inspector|Debugger attached|Waiting for the debugger to disconnect\.\.\./;
/third_party/node/lib/internal/debugger/
H A Dinspect.js75 const debugRegex = /Debugger listening on ws:\/\/\[?(.+?)\]?:(\d+)\//;
/third_party/node/test/common/
H A Dinspector-helper.js387 const matches = line.match(/Debugger listening on ws:\/\/.+:(\d+)\/.+/);

Completed in 8 milliseconds