Created
March 24, 2014 16:13
-
-
Save agronholm/9743439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zmq | |
c = zmq.Context.instance() | |
s = c.socket(zmq.SUB) | |
s.subscribe = b'' | |
s.bind('inproc://rpc-cmd') | |
s.unbind('inproc://rpc-cmd') | |
# Traceback (most recent call last): | |
# File "sockettest.py", line 6, in <module> | |
# s.unbind('inproc://rpc-cmd') | |
# File "socket.pyx", line 495, in zmq.backend.cython.socket.Socket.unbind (zmq/backend/cython/socket.c:4198) | |
# zmq.error.ZMQError: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment