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.
我虽横行却不霸道
- 粉丝: 95
- 资源: 1万+
最新资源
- 人物检测26-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 人和箱子检测2-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 清华大学2022年秋季学期 高等数值分析课程报告
- GEE错误集-Cannot add an object of type <Element> to the map. Might be fixable with an explicit .pdf
- 清华大学2022年秋季学期 高等数值分析课程报告
- 矩阵与线程的对应关系图
- 人体人员检测46-YOLO(v5至v9)、COCO、Darknet、TFRecord数据集合集.rar
- GEMM优化代码实现1
- java实现的堆排序 含代码说明和示例.docx
- 资料阅读器(先下载解压) 5.0.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈