From cab831748a2a9cc18b7f18f3b5e14a4374b7ab68 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期一, 17 五月 2021 18:34:26 +0800 Subject: [PATCH] socket send using abs addr, avoid shm find by id. --- proto/source/bhome_msg_api.proto | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/source/bhome_msg_api.proto b/proto/source/bhome_msg_api.proto index 94bc82e..8b422c7 100644 --- a/proto/source/bhome_msg_api.proto +++ b/proto/source/bhome_msg_api.proto @@ -9,8 +9,9 @@ message BHAddress { uint64 mq_id = 1; - bytes ip = 2; - int32 port = 3; + int64 abs_addr = 2; + bytes ip = 3; + int32 port = 4; } message ProcInfo @@ -48,7 +49,6 @@ message MsgRegister { ProcInfo proc = 1; - repeated BHAddress addrs = 2; } message MsgUnregister -- Gitblit v1.8.0