Skip to content

Instantly share code, notes, and snippets.

@markkimsal
markkimsal / gist:11369832
Created April 28, 2014 12:04
Python PYZMQ PUSH/PULL buffer
#!/usr/bin/python
import zmq
import time
import collections
ctx = zmq.Context()
pull_socket = ctx.socket(zmq.PULL)
pull_socket.bind('tcp://127.0.0.1:5590')