Update tcpclient.c

接收->发送
This commit is contained in:
David Lin 2020-07-17 16:06:33 +08:00 committed by GitHub
parent 24ee1608a4
commit 105d8945f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}