RECVTCP

所属分类:单片机开发
开发工具:C/C++
文件大小:369KB
下载次数:49
上传日期:2007-08-28 15:04:48
上 传 者zybuaa
说明:  C8051F120单片机TCP协议栈,主体眶架,从美国人LIB库中导出
(C8051F120 single-chip TCP protocol stack, the main orbital plane, from the American Library LIB Export)

文件列表:
RECVTCP\Application\tcp_cli.exe (34816, 2007-01-26)
RECVTCP\Application\tcp_svr.exe (34304, 2007-01-26)
RECVTCP\Application\Source\tcp_cli.cpp (3619, 2007-01-26)
RECVTCP\Application\Source\tcp_svr.cpp (4105, 2007-01-26)
RECVTCP\Application\Source\wsedesc.cpp (4453, 2007-01-26)
RECVTCP\Firmware\c8051F120.h (22444, 2007-01-26)
RECVTCP\Firmware\Cleanup.bat (184, 2007-01-26)
RECVTCP\Firmware\L51_BANK.A51 (12462, 2007-01-26)
RECVTCP\Firmware\mn_callback.c (6001, 2007-08-27)
RECVTCP\Firmware\mn_defs.h (3826, 2007-01-26)
RECVTCP\Firmware\mn_errs.h (4814, 2007-01-26)
RECVTCP\Firmware\mn_funcs.h (2864, 2007-01-26)
RECVTCP\Firmware\mn_stackconst.h (3698, 2007-01-26)
RECVTCP\Firmware\MN_STACK_BANK_037.LIB (58236, 2007-01-26)
RECVTCP\Firmware\MN_STACK_COMMON_037.LIB (201673, 2007-01-26)
RECVTCP\Firmware\mn_userconst.#1 (4728, 2007-01-26)
RECVTCP\Firmware\mn_vars.c (4951, 2007-01-26)
RECVTCP\Firmware\Rel_Notes.txt (913, 2007-01-26)
RECVTCP\Firmware\STARTUP.A51 (4149, 2007-01-26)
RECVTCP\Firmware\TCP.wsp (27996, 2007-01-26)
RECVTCP\Firmware\cyglink.txt (461, 2007-08-24)
RECVTCP\Firmware\TCP.M51 (203413, 2007-08-24)
RECVTCP\Firmware\TCP.#2 (106038, 2007-08-24)
RECVTCP\Firmware\TCP.#1 (106038, 2007-08-24)
RECVTCP\Firmware\mn_userconst.h (4731, 2007-08-27)
RECVTCP\Firmware\TCP (106038, 2007-08-24)
RECVTCP\Firmware\main.#3 (13568, 2007-08-24)
RECVTCP\Firmware\main.#2 (13569, 2007-08-24)
RECVTCP\Firmware\main.#1 (13569, 2007-08-24)
RECVTCP\Firmware\mn_vars.LST (8056, 2007-08-27)
RECVTCP\Firmware\mn_vars.OBJ (19068, 2007-08-27)
RECVTCP\Firmware\tmp.out (141, 2007-08-24)
RECVTCP\Firmware\main.LST (21313, 2007-08-27)
RECVTCP\Firmware\main.OBJ (31946, 2007-08-27)
RECVTCP\Firmware\recvtcp_Uv2.Bak (2473, 2007-08-26)
RECVTCP\Firmware\main.c (13392, 2007-08-26)
RECVTCP\Firmware\recvtcp (164209, 2007-08-27)
RECVTCP\Firmware\recvtcp.plg (190, 2007-08-27)
RECVTCP\Firmware\recvtcp_Opt.Bak (2292, 2007-08-27)
... ...

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.

近期下载者

相关文件


收藏者