Skip to content

AATROPALLA/Potra-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

import cluster from 'node:cluster'; import dgram from 'node:dgram';

if (cluster.isPrimary) { cluster.fork(); // Works ok. cluster.fork(); // Fails with EADDRINUSE. } else { const s = dgram.createSocket('udp4'); s.bind(1234, () => { s.addMembership('224.0.0.114'); }); }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published