diff options
| author | David Lin <[email protected]> | 2020-07-17 16:06:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-17 16:06:33 +0800 |
| commit | 105d8945f52fe8251b19d4fd78baa049b128624a (patch) | |
| tree | 7062d04b73ddd25cd419b742a83f8404b9ea3a2e /examples/network/tcpclient.c | |
| parent | 24ee1608a4a20925f5817ee358afb6df360b4374 (diff) | |
Update tcpclient.c
接收->发送
Diffstat (limited to 'examples/network/tcpclient.c')
| -rw-r--r-- | examples/network/tcpclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/tcpclient.c b/examples/network/tcpclient.c index 2059d9f17f..cc67645868 100644 --- a/examples/network/tcpclient.c +++ b/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; } |
