使用zmq标准数据帧格式

This commit is contained in:
Ivey Song
2026-06-08 15:16:16 +08:00
parent 4faeae0ff3
commit 140fd9a487

View File

@@ -107,9 +107,8 @@ def main():
label_type = 2 if label_type == 1 else 1
# 发送: multipart 3帧 [identity, '', data]
# 使用标准格式3帧ROUTER 会自动附加 ZMQ 分配的客户端身份
sock.send_multipart([
b'datamock',
b'',
packet.tobytes()
])