mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:45:22 +08:00
Update tcpclient.c
接收->发送
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user