From 3bcc38ca89ff5371a06d5f5da58bb62640819aa8 Mon Sep 17 00:00:00 2001 From: lhiven Date: Sun, 24 Sep 2023 12:46:05 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtcp=E5=8F=91=E9=80=81?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E8=BF=94=E5=9B=9E=E5=8F=91=E9=80=81=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=87=8F=E7=9A=84=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.Framework/TcpClientHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rs.Framework/TcpClientHelper.cs b/Rs.Framework/TcpClientHelper.cs index a36a0ea..4b9633b 100644 --- a/Rs.Framework/TcpClientHelper.cs +++ b/Rs.Framework/TcpClientHelper.cs @@ -126,7 +126,7 @@ namespace Rs.Framework byte[] sendData = Encoding.ASCII.GetBytes(content); if(m_IsConnected) { - Send(sendData); + return Send(sendData); } return -1; } @@ -136,7 +136,7 @@ namespace Rs.Framework byte[] sendData = encode.GetBytes(content); if (m_IsConnected) { - Send(sendData); + return Send(sendData); } return -1; }