# Pastebin kGsLJHbv # encoding: utf-8 import zmq context = zmq.Context.instance() client = context.socket(zmq.DEALER) client.connect("tcp://127.0.0.1:9734") # ident = b'deadbeef' request = [ b'', b'RRRRRRRRRequest' ] #print("client.getsockopt(zmq.IDENTITY() -> %s\n" % client.getsockopt(zmq.IDENTITY)) print("Sending request: %s\n" % request) client.send_multipart(request) print("Now waiting for response - good luck\n") res = client.recv_multipart() print("parent received response: %s\n" % res)