Administrator
2024-02-27 b30bb4c12a44317faf962caeea2279b7b19849fb
zeromq集成测试
1个文件已修改
1 ■■■■ 已修改文件
test/test_pyzmq.py 1 ●●●● 补丁 | 查看 | 原始文档 | 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}")