文件名称:Visual_C_Book_Prg
- 所属分类:
- 书籍源码
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.55mb
- 下载次数:
- 0次
- 提 供 者:
- yz***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
多线程文件传输的实例,实现多个线程传输同一个文件,在服务器端多个线程以共享方式打开一个需要传输的文件,然后各个线程分别读取各自的一部分数据并分别发送给客户端,客户端同样各个线程分别接收服务端对应的线程发送的文件数据,最后将接收的临时文件合并为最终完整的文件。-Examples of multi-threaded file transfer, transfer of multiple threads with a file on the server side multiple threads to share the way of opening a need to transfer files, and then read the various threads are part of their data and were sent to the client, the customer each thread the same end for receiving the corresponding server thread to send the file data, the final will receive the temporary file into the final complete document.
相关搜索: 文件合并
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Visual_C_Book_Prg\源代码\FileTransferClient\Debug\FileTransferClient.exe
.................\......\..................\.....\FileTransferClient.ilk
.................\......\..................\.....\FileTransferClient.obj
.................\......\..................\.....\FileTransferClient.pch
.................\......\..................\.....\FileTransferClient.pdb
.................\......\..................\.....\FileTransferClient.res
.................\......\..................\.....\FileTransferClientDlg.obj
.................\......\..................\.....\MySocket.obj
.................\......\..................\.....\StdAfx.obj
.................\......\..................\.....\ThreadFunc.obj
.................\......\..................\.....\vc60.idb
.................\......\..................\.....\vc60.pdb
.................\......\..................\FileTransferClient.aps
.................\......\..................\FileTransferClient.clw
.................\......\..................\FileTransferClient.cpp
.................\......\..................\FileTransferClient.dsp
.................\......\..................\FileTransferClient.dsw
.................\......\..................\FileTransferClient.h
.................\......\..................\FileTransferClient.ncb
.................\......\..................\FileTransferClient.opt
.................\......\..................\FileTransferClient.plg
.................\......\..................\FileTransferClient.rc
.................\......\..................\FileTransferClientDlg.cpp
.................\......\..................\FileTransferClientDlg.h
.................\......\..................\MySocket.cpp
.................\......\..................\MySocket.h
.................\......\..................\ReadMe.txt
.................\......\..................\res\FileTransferClient.ico
.................\......\..................\...\FileTransferClient.rc2
.................\......\..................\...\Thumbs.db
.................\......\..................\resource.h
.................\......\..................\StdAfx.cpp
.................\......\..................\StdAfx.h
.................\......\..................\ThreadFunc.cpp
.................\......\..................\ThreadFunc.h
.................\......\............Server\Debug\FileTransferServer.obj
.................\......\..................\.....\FileTransferServer.pch
.................\......\..................\.....\FileTransferServer.pdb
.................\......\..................\.....\FileTransferServer.res
.................\......\..................\.....\FileTransferServerDlg.obj
.................\......\..................\.....\MySocket.obj
.................\......\..................\.....\StdAfx.obj
.................\......\..................\.....\ThreadFunc.obj
.................\......\..................\.....\vc60.idb
.................\......\..................\.....\vc60.pdb
.................\......\..................\FileTransferServer.aps
.................\......\..................\FileTransferServer.clw
.................\......\..................\FileTransferServer.cpp
.................\......\..................\FileTransferServer.dsp
.................\......\..................\FileTransferServer.dsw
.................\......\..................\FileTransferServer.h
.................\......\..................\FileTransferServer.ncb
.................\......\..................\FileTransferServer.opt
.................\......\..................\FileTransferServer.plg
.................\......\..................\FileTransferServer.rc
.................\......\..................\FileTransferServerDlg.cpp
.................\......\..................\FileTransferServerDlg.h
.................\......\..................\MySocket.cpp
.................\......\..................\MySocket.h
.................\......\..................\ReadMe.txt
.................\......\..................\res\FileTransferServer.ico
.................\......\..................\...\FileTransferServer.rc2
.................\......\..........
.................\......\..................\.....\FileTransferClient.ilk
.................\......\..................\.....\FileTransferClient.obj
.................\......\..................\.....\FileTransferClient.pch
.................\......\..................\.....\FileTransferClient.pdb
.................\......\..................\.....\FileTransferClient.res
.................\......\..................\.....\FileTransferClientDlg.obj
.................\......\..................\.....\MySocket.obj
.................\......\..................\.....\StdAfx.obj
.................\......\..................\.....\ThreadFunc.obj
.................\......\..................\.....\vc60.idb
.................\......\..................\.....\vc60.pdb
.................\......\..................\FileTransferClient.aps
.................\......\..................\FileTransferClient.clw
.................\......\..................\FileTransferClient.cpp
.................\......\..................\FileTransferClient.dsp
.................\......\..................\FileTransferClient.dsw
.................\......\..................\FileTransferClient.h
.................\......\..................\FileTransferClient.ncb
.................\......\..................\FileTransferClient.opt
.................\......\..................\FileTransferClient.plg
.................\......\..................\FileTransferClient.rc
.................\......\..................\FileTransferClientDlg.cpp
.................\......\..................\FileTransferClientDlg.h
.................\......\..................\MySocket.cpp
.................\......\..................\MySocket.h
.................\......\..................\ReadMe.txt
.................\......\..................\res\FileTransferClient.ico
.................\......\..................\...\FileTransferClient.rc2
.................\......\..................\...\Thumbs.db
.................\......\..................\resource.h
.................\......\..................\StdAfx.cpp
.................\......\..................\StdAfx.h
.................\......\..................\ThreadFunc.cpp
.................\......\..................\ThreadFunc.h
.................\......\............Server\Debug\FileTransferServer.obj
.................\......\..................\.....\FileTransferServer.pch
.................\......\..................\.....\FileTransferServer.pdb
.................\......\..................\.....\FileTransferServer.res
.................\......\..................\.....\FileTransferServerDlg.obj
.................\......\..................\.....\MySocket.obj
.................\......\..................\.....\StdAfx.obj
.................\......\..................\.....\ThreadFunc.obj
.................\......\..................\.....\vc60.idb
.................\......\..................\.....\vc60.pdb
.................\......\..................\FileTransferServer.aps
.................\......\..................\FileTransferServer.clw
.................\......\..................\FileTransferServer.cpp
.................\......\..................\FileTransferServer.dsp
.................\......\..................\FileTransferServer.dsw
.................\......\..................\FileTransferServer.h
.................\......\..................\FileTransferServer.ncb
.................\......\..................\FileTransferServer.opt
.................\......\..................\FileTransferServer.plg
.................\......\..................\FileTransferServer.rc
.................\......\..................\FileTransferServerDlg.cpp
.................\......\..................\FileTransferServerDlg.h
.................\......\..................\MySocket.cpp
.................\......\..................\MySocket.h
.................\......\..................\ReadMe.txt
.................\......\..................\res\FileTransferServer.ico
.................\......\..................\...\FileTransferServer.rc2
.................\......\..........