zeromq / zeromq.js

:zap: Node.js bindings to the ØMQ library
http://zeromq.github.io/zeromq.js/
MIT License
1.48k stars 210 forks source link

Add IPC support on Windows #478

Open iSplasher opened 3 years ago

iSplasher commented 3 years ago

Is your feature request related to a problem? Please describe.

Hello, there doesn't seem to be IPC support for Windows, even though libzmq has supported this since last year

Even the python bindings has added support

Would it be possible to add this to the pre-built windows binaries?

This snippet yields Protocol not supported, while the comparable snippet works on the same system when using the python bindings.

const zmq = require("zeromq")

async function run() {
  const sock = new zmq.Push

  await sock.bind("ipc://*")
  console.log("Producer bound")

  while (true) {
    await sock.send("some work")
    await new Promise(resolve => setTimeout(resolve, 500))
  }
}

run()

Describe the solution you'd like

Build pre-built binaries with IPC for Windows support.

Describe alternatives you've considered

I would have looked into building the binary from source myself, but I see issues like #473

JBalanza commented 1 year ago

is there any news about it? thanks in advance