Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import time
import zmq
context = zmq.Context()
# Socket to talk to server
print "Connecting to hello world server."
socket = context.socket(zmq.PULL)
socket.bind ("tcp://")
while True:
print "Receiving..."
message = socket.recv()
print "message: ", message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.