Commit Graph

18 Commits

Author SHA1 Message Date
ChungHsuanChen 382e19ccbf improve and add comments in examples/network/ including tcpserver.c
tcpclient.c udpserver.c and udpclient.c
Formatting
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-01-25 13:59:59 +08:00
Meco Man f0cc3e861a [example] 对版权信息进行人工扫描并添加确实的版权信息 2021-03-08 07:19:27 +08:00
David Lin 105d8945f5
Update tcpclient.c
接收->发送
2020-07-17 16:06:33 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
MurphyZhao e9c795e8bc [examples][network] 更新 TCP/UDP 例程 uage
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-06 09:46:20 +08:00
MurphyZhao 6c62f5d9fe [examples][network] 更新 tcp client & server 例程
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-05 15:17:51 +08:00
aozima e20fb2f5b2 [examples] update:
1. cleanup for posix dfs_net.
2. fixed recv buf overwrite.
3. format code.
2018-02-06 18:59:24 +08:00
SummerGift 1b37cd7dd0 update examples/network/tcpclient.c 2017-10-27 16:10:41 +08:00
Bernard Xiong 5f4bcfa3e1 [examples] code cleanup. 2017-08-10 14:09:57 +08:00
SummerGift 07cc5047bb Complete some error handling when send or receive function returns a value is zero. 2017-08-10 10:47:51 +08:00
hduffddybz b833a5ca80 correct spelling error 2014-08-06 00:19:13 -08:00
Bernard Xiong 72782e9203 convert end of line 2013-01-08 05:05:02 -08:00
wuyangyong 8d4d8a8338 fixed bug: close sock when connect fail.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2287 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-10 14:01:30 +00:00
bernard.xiong@gmail.com 5cf2b9c3a2 Fixed buffer size issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2166 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 15:47:27 +00:00
bernard.xiong@gmail.com c891da75df fixed recv issue in tcp client example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:44:22 +00:00
bernard.xiong cd039a8b49 add more Chinese comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@536 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-24 15:26:48 +00:00
bernard.xiong feec9197c4 move TCP client/server and UDP client/server example to this directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-01 09:39:28 +00:00