Skip to content

Instantly share code, notes, and snippets.

Embed
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://192.168.0.63:5555")
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.