Test programs to be run against Silicon Laboratories ETHERNET-DK TCP Examples
=============================================================================
There are two winsock programs that can be used on Win95 or higher to run
against the Silicon Laboratories ETHERNET-DK TCP Examples.
tcp_cli.exe - TCP echo client
tcp_svr.exe - TCP echo server
A brief desciption of their usage follows. For both of the programs,
if PPP or SLIP is used, a PPP or SLIP connection must be established first
using the Windows Dialup Networking. This is not necessary if using ethernet.
TCP_CLI
=======
The TCP example should be set up as a TCP echo server (SERVER_MODE = 1).
Run code on the C8051F120 first then TCP_CLI. TCP_CLI will send out a string
and wait for ETHERNET-DK to echo it back. TCP_CLI will then take the received
string and send it to ETHERNET-DK and so forth.
TCP_CLI optionally takes one parameter, the destination IP address. The
default IP address is 216.233.5.26. To use a different IP address, enter
TCP_CLI followed by the same IP address in dot format. Lets say ip_src_addr
in mn_userconst.h was changed to 192.168.1.5, then on the PC you would use:
TCP_CLI 192.168.1.5
TCP_SVR
=======
The TCP example should be set up as a TCP echo client (SERVER_MODE = 0).
Start TCP_SVR first, then run code on the C8051F120. TCP_SVR will wait for
ETHERNET-DK to send a string, then echo the received string back to ETHERNET-DK.
ETHERNET-DK will then take the string from TCP_SVR and send it back and so forth.
TCP_SVR does not take any parameters.
没有合适的资源?快使用搜索试试~ 我知道了~
TCP.rar_c8051f340_tcp 数据传输
共22个文件
h:6个
cpp:3个
txt:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 69 浏览量
2022-09-22
18:11:18
上传
评论
收藏 131KB RAR 举报
温馨提示
实现了C8051F340单片机依据TCP协议传输数据
资源推荐
资源详情
资源评论
收起资源包目录
TCP.rar (22个子文件)
www.pudn.com.txt 218B
TCP
Application
tcp_svr.exe 34KB
README.TXT 2KB
tcp_cli.exe 34KB
Source
tcp_cli.cpp 4KB
wsedesc.cpp 4KB
tcp_svr.cpp 4KB
Firmware
Cleanup.bat 184B
TCP.wsp 40KB
mn_funcs.h 3KB
main.c 12KB
mn_userconst.h 5KB
c8051F340.h 16KB
Startup.a51 4KB
mn_defs.h 4KB
MN_STACK_COMMON_037.LIB 213KB
Rel_Notes.txt 839B
mn_vars.c 5KB
MN_STACK_BANK_037.LIB 63KB
mn_errs.h 5KB
mn_stackconst.h 4KB
mn_callback.c 6KB
共 22 条
- 1
资源评论
我虽横行却不霸道
- 粉丝: 90
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功