Commit Graph

19 Commits

Author SHA1 Message Date
yangpeng e92d66eeac [examples][tcpserver]打印错误值errno 2023-12-28 15:55:14 +08:00
yangpeng fb8f1458d0 [examples]更正tcp例程中recv/send返回值判断 2023-12-28 15:55:14 +08:00
shandianchengzi a294d7da9a
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528) 2023-05-18 10:42:44 -04:00
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 e4f463ed13
Update tcpserver.c
This is 'tcp server', not is 'tcp client'
tcpclient -> tcpserver
2020-06-13 11:01:24 +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 8e0d9b4de5 update examples/network/tcpserver.c to rtt 3.0 test. 2017-10-27 16:10:42 +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
bernard.xiong@gmail.com 844bca0bd6 fixed recv issue in tcp server example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2125 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:42:58 +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