Commit Graph

39 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
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Meco Man f0cc3e861a [example] 对版权信息进行人工扫描并添加确实的版权信息 2021-03-08 07:19:27 +08:00
Meco Man 08af426f01 [example] 格式化整理 2021-03-07 08:34:04 +08:00
David Lin 85e32ae58e
Update udpclient.c
tcpclient->udpclient
2020-10-14 11:59:20 +08:00
David Lin 105d8945f5
Update tcpclient.c
接收->发送
2020-07-17 16:06:33 +08:00
Bernard Xiong eae89d14a0
Merge pull request #3683 from DavidLin1577/patch-2
Update udpserver.c
2020-06-13 20:06:40 +08:00
Bernard Xiong 243324ffa6
Merge pull request #3682 from DavidLin1577/patch-1
Update udpclient.c
2020-06-13 19:17:11 +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
David Lin c74e40dbe5
Update udpserver.c
This is 'udp server', not is 'tcp client'
tcpclient -> udpserver
2020-06-13 10:57:38 +08:00
David Lin 79e4fed9ff
Update udpclient.c
This is 'udp client', not is 'tcp client', so 
tcpclient -> udpclient
2020-06-13 10:52:54 +08:00
David Lin 993835b5ed
Update tcpsendpacket.c 2020-04-17 18:44:15 +08:00
David Lin 8e57dcb723
Update tcpsendpacket.c 2020-04-17 18:39:04 +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 b2d4dd0ba7 [examples][network] 更新 UDP client & server
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-05 16:38:01 +08:00
MurphyZhao 6c62f5d9fe [examples][network] 更新 tcp client & server 例程
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-05 15:17:51 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +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
aozima ff811a93ff [examples] remove unused old code. 2018-02-06 18:19:17 +08:00
SummerGift 110ccb0602 add examples/network/chargen.c 2017-10-27 16:10:42 +08:00
SummerGift 8e0d9b4de5 update examples/network/tcpserver.c to rtt 3.0 test. 2017-10-27 16:10:42 +08:00
SummerGift 89cc00a91c update examples/network/udpclient.c examples/network/udpserver.c 2017-10-27 16:10:41 +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 0d33799d0d add some python example for tcp server and client. 2017-08-10 11:04:17 +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
SummerGift f9ec093f51 correct some explain 2017-08-07 11:36:44 +08:00
heyuanjie87 0def1a7691 添加mqtt客户端例程(注:由于条件限制仅在linux中测试通过) 2015-07-22 21:55:18 +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@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 6c83bee27f add TCP client send test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@571 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-01 12:58:29 +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