📄 readme.txt
字号:
Test programs to be run against Silicon Laboratories ETHERNET-DK UDP Examples
=============================================================================
There are two winsock programs that can be used on Win95 or higher to run
against the Silicon Laboratories ETHERNET-DK UDP Examples.
udp_cli.exe - UDP echo client
udp_svr.exe - UDP 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.
UDP_CLI
=======
The UDP example should be set up as a UDP echo server (SERVER_MODE = 1).
Run code on the C8051F120 first then UDP_CLI. UDP_CLI will send out a string
and wait for ETHERNET-DK to echo it back. UDP_CLI will then take the received
string and send it to ETHERNET-DK and so forth.
UDP_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
UDP_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:
UDP_CLI 192.168.1.5
UDP_SVR
=======
The UDP example should be set up as a UDP echo client (SERVER_MODE = 0).
Start UDP_SVR first, then run code on the C8051F120. UDP_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 UDP_SVR and send it back and so forth.
UDP_SVR does not take any parameters.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -