[feat] use SendReliableDataFrame() instead of SendDataFrame()

This commit is contained in:
dijunkun
2025-12-19 01:46:16 +08:00
parent 5066fcda48
commit a967dc72d7
4 changed files with 17 additions and 17 deletions

View File

@@ -1341,8 +1341,8 @@ void Render::MainLoop() {
remote_action.i.host_name_size = host_name.size();
std::string msg = remote_action.to_json();
int ret = SendDataFrame(peer_, msg.data(), msg.size(),
data_label_.c_str(), false);
int ret = SendReliableDataFrame(peer_, msg.data(), msg.size(),
data_label_.c_str());
FreeRemoteAction(remote_action);
if (0 == ret) {
need_to_send_host_info_ = false;