Does zeromq support IPC as a transport channel on windows?

Klaus Rohe picture Klaus Rohe · Mar 13, 2013 · Viewed 13k times · Source

I get the following error message, when I try the router example wiht python on Windows (Windows 8):

Traceback (most recent call last):
  File "router.py", line 43, in <module>
    client.bind("ipc://routing.ipc")
  File "socket.pyx", line 432, in zmq.core.socket.Socket.bind (zmq\core\socket.c:3870)
  File "checkrc.pxd", line 23, in zmq.core.checkrc._check_rc (zmq\core\socket.c:5712)
zmq.error.ZMQError: Protocol not supported

So I suppose that the IPC transport channel for zeromq is not suported on Windows (at least Windows 8). Is this true?

Answer

timotimo picture timotimo · Mar 13, 2013

The question How to use Zeromq's inproc and ipc transports? mentions that IPC relies on POSIX named pipes, which Windows doesn't support.

You should be able to use TCP on a Loopback Interface instead without trouble.