添加了socket数据处理,处理粘包和分包的问题

This commit is contained in:
zw
2025-06-25 10:54:09 +08:00
parent ccd7a3bb59
commit 3b4a4704db
5 changed files with 127 additions and 25 deletions

View File

@@ -60,4 +60,4 @@ public:
}
};
void process_received_message(string mac, const char* data, size_t length);
void process_received_message(string mac, string id, const char* data, size_t length);