文件名称:WANGLUOSHIYAN
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2015-03-02
- 文件大小:
- 2.3mb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这两个程序中,其中TCPDemos完成TCP的Server(服务器)
的功能,TCPDemoc完成TCP的Client(客户端)的功能,
运行时前请打开程序,根据本地IP修改分别修改服务器
和客户端程序中的IP地址(在#define SERVER_IP),注意
当前程序中设置的IP为127.0.0.1,即 本机IP,所以同学们
不用改程序可直接在本机运行。运行时首先运行Server的
程序,然后运行Client的程序,该程序的效果是服务器
接收连接后给客户端发送了一个字符串为 I am a server -
请键入文字或网站地址,或者上传文档。
These two programs, which TCPDemos complete the TCP Server (server)
Function, TCPDemoc complete the TCP Client (client) function,
Please open the program before running, modifying the server were modified according to the local IP
And client programs in the IP address (in#define SERVER_IP), attention
IP settings for the current program 127.0.0.1, namely the local IP, so students
Do not change the program can be run directly on the machine. Runtime Server s first run
Program, and then run the Client program, the effect of the program is the server
After receiving the connection to the client sends a string of I am a server
的功能,TCPDemoc完成TCP的Client(客户端)的功能,
运行时前请打开程序,根据本地IP修改分别修改服务器
和客户端程序中的IP地址(在#define SERVER_IP),注意
当前程序中设置的IP为127.0.0.1,即 本机IP,所以同学们
不用改程序可直接在本机运行。运行时首先运行Server的
程序,然后运行Client的程序,该程序的效果是服务器
接收连接后给客户端发送了一个字符串为 I am a server -
请键入文字或网站地址,或者上传文档。
These two programs, which TCPDemos complete the TCP Server (server)
Function, TCPDemoc complete the TCP Client (client) function,
Please open the program before running, modifying the server were modified according to the local IP
And client programs in the IP address (in#define SERVER_IP), attention
IP settings for the current program 127.0.0.1, namely the local IP, so students
Do not change the program can be run directly on the machine. Runtime Server s first run
Program, and then run the Client program, the effect of the program is the server
After receiving the connection to the client sends a string of I am a server
(系统自动生成,下载前可以参看下载内容)
下载文件列表
网络实验\关于TCP编程.doc
........\说明.txt
........\TCPDemos\TCPDemo.cpp
........\........\TCPDemo.dsp
........\........\TCPDemo.dsw
........\........\TCPDemo.ncb
........\........\TCPDemo.opt
........\........\TCPDemo.plg
........\........\Debug\TCPDemo.exe
........\........\.....\TCPDemo.ilk
........\........\.....\TCPDemo.obj
........\........\.....\TCPDemo.pch
........\........\.....\TCPDemo.pdb
........\........\.....\vc60.idb
........\........\.....\vc60.pdb
........\.......c\TCPDemoc.cpp
........\........\TCPDemoc.ncb
........\........\TCPDemoc.plg
........\........\TCPDemoc.opt
........\........\TCPDemoc.dsp
........\........\TCPDemoc.dsw
........\........\Debug\TCPDemoc.pdb
........\........\.....\vc60.idb
........\........\.....\vc60.pdb
........\........\.....\TCPDemoc.obj
........\........\.....\TCPDemoc.pch
........\........\.....\TCPDemo.obj
........\.......s\Debug
........\.......c\Debug
........\TCPDemos
........\TCPDemoc
网络实验