节点通信层
Go to file
2025-07-30 09:42:33 +08:00
assets feat: add result 2025-07-30 09:42:33 +08:00
include first commit 2025-07-30 09:38:43 +08:00
src first commit 2025-07-30 09:38:43 +08:00
tests first commit 2025-07-30 09:38:43 +08:00
.gitignore first commit 2025-07-30 09:38:43 +08:00
README.md feat: add result 2025-07-30 09:42:33 +08:00
xmake.lua first commit 2025-07-30 09:38:43 +08:00

Node Communication

准备

xmake f -m release -cv

运行

TCP

  1. 接收端执行 xmake run ipc_interface tcp receive
  2. 发送端执行 xmake run ipc_interface tcp send --data test_data

Share Memory

  1. 接收端执行 xmake run ipc_interface shm receive
  2. 发送端执行 xmake run ipc_interface shm send --data test_data

Unix Domain

  1. 接收端执行 xmake run ipc_interface unix_domain receive
  2. 发送端执行 xmake run ipc_interface unix_domain send --data test_data

结果

alt text