浏览代码

Update tcpclient.c

接收->发送
David Lin 4 年之前
父节点
当前提交
105d8945f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/network/tcpclient.c

+ 1 - 1
examples/network/tcpclient.c

@@ -129,7 +129,7 @@ static void tcpclient(void *arg)
         ret = send(sock, send_data, rt_strlen(send_data), 0);
         if (ret < 0)
         {
-            /* 接收失败,关闭这个连接 */
+            /* 发送失败,关闭这个连接 */
             LOG_I("send error, close the socket.");
             goto __exit;
         }