commit | 6ade7fbea9794597f2f77a9e21291ff2e34c6f32 | [log] [tgz] |
---|---|---|
author | wangyouqiang <yq.wang@mobiletek.cn> | Wed Oct 11 14:00:07 2023 +0800 |
committer | wangyouqiang <yq.wang@mobiletek.cn> | Wed Oct 11 14:00:07 2023 +0800 |
tree | 5f55d07a8c4f479b557fe0a0d51a62c89d334cd8 | |
parent | 3937efbdaa19340bc17d24c0bc3cbc1605762829 [diff] [blame] |
tcpip: fix tcpip code Change-Id: I6daf58f918b1568f712c6e2b56a56d22c9678c43
diff --git a/mbtk/mbtk_lib/src/mbtk_tcpip_at.c b/mbtk/mbtk_lib/src/mbtk_tcpip_at.c index ccfe1ad..8490ede 100755 --- a/mbtk/mbtk_lib/src/mbtk_tcpip_at.c +++ b/mbtk/mbtk_lib/src/mbtk_tcpip_at.c
@@ -187,7 +187,14 @@ if(sock_error) { LOGW("errno = %d", errno); - return; + if(sock_error == ECONNRESET|| errno == EAGAIN) + { + // + } + else + { + return; + } } if(sock_info->sock_type == MBTK_SOCK_TCP) {