http

所属分类:进程与线程
开发工具:Visual C++
文件大小:27KB
下载次数:207
上传日期:2008-05-15 17:35:22
上 传 者zhoubinghua2008
说明:  Http服务器多线程下载文件,实现多线程文件下载不想想象中的那么复杂,具体思路为:首先确定下载文件的大小,根据文件大小确定采用几个线程下载,每个线程下载文件的不同布分;然后再线程下载完后,将每个线程下载的数据按照顺序组合为一个完整的文件,这样就实现了文件的多线程下载。
(Http server multi-threaded download documents, the realization of multi-threaded file downloads do not want to imagine that in less complex, specific ideas as follows: first determine the size of the download file, according to file size to determine the use of a number of threads to download each thread downloading files different sub-cloth then download thread after thread of each download of data in accordance with the order for a complete portfolio of documents, so that the realization of a multi-threaded file download.)

文件列表:
371\FtpDown\FtpDown.aps (23716, 2007-05-08)
371\FtpDown\FtpDown.clw (1170, 2007-05-08)
371\FtpDown\FtpDown.cpp (2077, 2007-05-08)
371\FtpDown\FtpDown.dsp (4247, 2007-05-08)
371\FtpDown\FtpDown.dsw (539, 2007-05-08)
371\FtpDown\FtpDown.h (1335, 2007-05-08)
371\FtpDown\FtpDown.ncb (74752, 2007-05-08)
371\FtpDown\FtpDown.plg (2600, 2007-05-08)
371\FtpDown\FtpDown.rc (5497, 2007-05-08)
371\FtpDown\FtpDownDlg.cpp (7096, 2007-05-08)
371\FtpDown\FtpDownDlg.h (1814, 2007-05-08)
371\FtpDown\StdAfx.cpp (209, 2007-05-08)
371\FtpDown\StdAfx.h (1054, 2007-05-08)
371\FtpDown\resource.h (822, 2007-05-08)
371\FtpDown\res\FtpDown.ico (1078, 2007-05-08)
371\FtpDown\res\FtpDown.rc2 (399, 2007-05-08)
371\FtpDown\res\MACFRE~1.ICO (2238, 2007-05-08)
371\FtpDown\res (0, 2008-04-12)
371\FtpDown (0, 2008-04-12)
371 (0, 2008-04-12)

近期下载者

相关文件


收藏者