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://" + port)
sender.bind("tcp://" + port)
while True:
sender.send(np.array(3000 + random() * 500, dtype="float32"))
Supports Markdown
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