文件名称:IPv6CharRoom
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.31mb
- 下载次数:
- 0次
- 提 供 者:
- z**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、熟悉IPv4/IPv6下Socket编程
2、掌握Socket编程关键技术
3、利用Socket编程实现网络应用
安装ipV6, 在cmd中键入命令:ipv6 install
为网卡配置地址:ipv6 adu 4/fe80::214:38ff:fe12:b8a4
Server端,等待客户端连接它,连接后将文件按块,一块一块的传到客户端
等待客户端连接
CTcpSocket* socket = new CTcpSocket()
将文件大小、文件名信息发送到客户端
接收到客户端发来的确认信息
按块传送文件一个块
收到客户端的ACK,传送下一个文件块
发送结束信息
Client端,输入服务器的地址,连接服务器,连接后将文件按块,一块一块的接收到本地,并对接收到文件大小与服务器传送过来的文件信息做比较,判断文件传输的正确与否。
向服务器连接
保存发送过来的文件大小、文件名信息
按块接收文件一个块
发送的确认信息
收到结束信息
判断传输的正确与否
-1, are familiar with Socket programming under IPv4/IPv6
2, master key technologies Socket Programming
3, using Socket programming network applications
Installation ipV6, in the cmd, type the command: ipv6 install
Address for the network card configuration: ipv6 adu 4/fe80:: 214:38 ff: fe12: b8a4
Server-side, waiting for the client to connect it, the connection will file by blocks, one a client of the spread
waiting for clients to connect
CTcpSocket* socket = new CTcpSocket ()
the file size, file name information is sent to the client
the client receives a confirmation message sent
a block by block transfer files
the client received ACK, send next block of a file
sending end of the message
Client-side, enter the server address, connect to the server, the connection will be the file by block, a reception to a local one, and the server receives the file size to send over the file informat
2、掌握Socket编程关键技术
3、利用Socket编程实现网络应用
安装ipV6, 在cmd中键入命令:ipv6 install
为网卡配置地址:ipv6 adu 4/fe80::214:38ff:fe12:b8a4
Server端,等待客户端连接它,连接后将文件按块,一块一块的传到客户端
等待客户端连接
CTcpSocket* socket = new CTcpSocket()
将文件大小、文件名信息发送到客户端
接收到客户端发来的确认信息
按块传送文件一个块
收到客户端的ACK,传送下一个文件块
发送结束信息
Client端,输入服务器的地址,连接服务器,连接后将文件按块,一块一块的接收到本地,并对接收到文件大小与服务器传送过来的文件信息做比较,判断文件传输的正确与否。
向服务器连接
保存发送过来的文件大小、文件名信息
按块接收文件一个块
发送的确认信息
收到结束信息
判断传输的正确与否
-1, are familiar with Socket programming under IPv4/IPv6
2, master key technologies Socket Programming
3, using Socket programming network applications
Installation ipV6, in the cmd, type the command: ipv6 install
Address for the network card configuration: ipv6 adu 4/fe80:: 214:38 ff: fe12: b8a4
Server-side, waiting for the client to connect it, the connection will file by blocks, one a client of the spread
waiting for clients to connect
CTcpSocket* socket = new CTcpSocket ()
the file size, file name information is sent to the client
the client receives a confirmation message sent
a block by block transfer files
the client received ACK, send next block of a file
sending end of the message
Client-side, enter the server address, connect to the server, the connection will be the file by block, a reception to a local one, and the server receives the file size to send over the file informat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
file_ipv6
.........\cmd命令.txt
.........\file_ipv6.cpp
.........\file_ipv6.dsp
.........\file_ipv6.dsw
.........\file_ipv6.ncb
.........\file_ipv6.opt
.........\file_ipv6.plg
.........\file_ipv6.sln
.........\file_ipv6.suo
.........\file_ipv6.vcproj
.........\file_ipv6.vcproj.B905EF5363D34F5.Administrator.user
.........\file_ipv6.vcproj.LENOVO-9039D75B.zym.user
.........\ReadMe.txt
.........\StdAfx.cpp
.........\StdAfx.h
.........\TcpSocket.cpp
.........\TcpSocket.h
.........\tpipv6.h
.........\wspiapi.h
IPv6CharRoom
.........\cmd命令.txt
.........\file_ipv6.cpp
.........\file_ipv6.dsp
.........\file_ipv6.dsw
.........\file_ipv6.ncb
.........\file_ipv6.opt
.........\file_ipv6.plg
.........\file_ipv6.sln
.........\file_ipv6.suo
.........\file_ipv6.vcproj
.........\file_ipv6.vcproj.B905EF5363D34F5.Administrator.user
.........\file_ipv6.vcproj.LENOVO-9039D75B.zym.user
.........\ReadMe.txt
.........\StdAfx.cpp
.........\StdAfx.h
.........\TcpSocket.cpp
.........\TcpSocket.h
.........\tpipv6.h
.........\wspiapi.h
IPv6CharRoom