文件名称:clientserver
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4.4mb
- 下载次数:
- 0次
- 提 供 者:
- 苏*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
客户端程序向服务器提出TCP连接的请求,当连接建立后,从服务器的端口5050接收数据并进行显示,然后断开与服务器的连接
服务器端的程序当有客户提出连接请求时,在端口5050与客户端进行TCP连接,
连接成功后,显示客户IP地址和端口号,并给客户端发送" Hello! I am a server."
字符串。如果发送正确则显示所发送的字节数
命令格式:server
-Client TCP connection to the server made the request when the connection is established, from the server' s port 5050 to receive data and display, then disconnect the connection with the server process when the server connection request made by the customer when the customer in the port 5050 end for TCP connection, the connection is successful, display customer IP address and port number, and to the client to send " Hello! I am a server." string. If you send the right shows the number of bytes sent by command format: server
服务器端的程序当有客户提出连接请求时,在端口5050与客户端进行TCP连接,
连接成功后,显示客户IP地址和端口号,并给客户端发送" Hello! I am a server."
字符串。如果发送正确则显示所发送的字节数
命令格式:server
-Client TCP connection to the server made the request when the connection is established, from the server' s port 5050 to receive data and display, then disconnect the connection with the server process when the server connection request made by the customer when the customer in the port 5050 end for TCP connection, the connection is successful, display customer IP address and port number, and to the client to send " Hello! I am a server." string. If you send the right shows the number of bytes sent by command format: server
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cliet server\client\client.cpp
............\......\client.dsp
............\......\client.dsw
............\......\client.ncb
............\......\client.opt
............\......\client.plg
............\......\Debug\client.exe
............\......\.....\client.ilk
............\......\.....\client.obj
............\......\.....\client.pch
............\......\.....\client.pdb
............\......\.....\vc60.idb
............\......\.....\vc60.pdb
............\......\server.rar
............\server\Debug\server.ilk
............\......\.....\server.obj
............\......\.....\server.pch
............\......\.....\server.pdb
............\......\.....\vc60.idb
............\......\.....\vc60.pdb
............\......\server.cpp
............\......\server.dsp
............\......\server.dsw
............\......\server.ncb
............\......\server.opt
............\......\server.plg
............\client\Debug
............\server\Debug
............\client
............\server
cliet server
............\......\client.dsp
............\......\client.dsw
............\......\client.ncb
............\......\client.opt
............\......\client.plg
............\......\Debug\client.exe
............\......\.....\client.ilk
............\......\.....\client.obj
............\......\.....\client.pch
............\......\.....\client.pdb
............\......\.....\vc60.idb
............\......\.....\vc60.pdb
............\......\server.rar
............\server\Debug\server.ilk
............\......\.....\server.obj
............\......\.....\server.pch
............\......\.....\server.pdb
............\......\.....\vc60.idb
............\......\.....\vc60.pdb
............\......\server.cpp
............\......\server.dsp
............\......\server.dsw
............\......\server.ncb
............\......\server.opt
............\......\server.plg
............\client\Debug
............\server\Debug
............\client
............\server
cliet server