node.js - share sockets between processes

后端 未结 2 498
醉酒成梦
醉酒成梦 2021-01-03 00:05

I´ve read that it´s possible to share sockets between processes. Is this also possible in Node.js?

I saw the cluster api in node.js, but that´s not what I´m looking

2条回答
  •  情歌与酒
    2021-01-03 00:15

    This is not possible at the moment, but I've added it as a feature request to the node issues page.

    Update In the mean time, I've written a module for this. You can find it here: https://github.com/VanCoding/node-ancillary

提交回复
热议问题