Unverified Commit 2bc1cde2 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Make zmq send to all ports

parent e7bdf094
......@@ -13,7 +13,7 @@ else:
ctx = zmq.Context()
sender = ctx.socket(zmq.PUSH)
sender.bind("tcp://127.0.0.1:" + port)
sender.bind("tcp://0.0.0.0:" + port)
while True:
time.sleep(0.5)
sender.send(np.array(3000 + random() * 500, dtype="float32"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment