test/test_pyzmq.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
test/test_pyzmq.py
@@ -8,6 +8,7 @@ def __create_server(context, port): socket = context.socket(zmq.REP) socket.bind(f"ipc://order{port}.ipc") print("绑定成功", port) while True: msg = socket.recv_json() print(f"Got Msg({port}): {msg}")