检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中北大学仪器科学与动态测试教育部重点实验室,山西太原030051
出 处:《电子测试》2011年第8期104-106,共3页Electronic Test
摘 要:在Windows编程中,为了提高代码的时、空效率,广泛采取多线程技术。本文以多线程技术的应用为研究背景,实现了多线程的一个应用:多线程文件下载。该下载工具以VC++6.0为开发平台,利用Windows套接字函数进行网络编程,实现了基于HTTP协议的文件下载过程,并通过创建和编写线程函数实现了文件的多线程下载工具的开发。利用该下载工具可以对网上的文档、图片、歌曲等各种文件实现多线程下载。经测试表明,该下载工具使文件的下载速率得到了有效提高。In order to improve code's efficiency both in time and space,Multi-thread technology widely used on Windows programs.This thesis's background was the apply of the multithreading technology,realize an application of multithreading technology:The Multi-Thread download file.This tool used VC++6.0 as the development space and windows socket function to finish the process,realizing the file download based on Hyper Text Transfer Protocal,And by creating and writing thread function realize the file multi-thread downloading tools development.To avail these multithreading download instrument could download the different kinds of file by multithreading in net,such as the documents、pictures、songs and so on.The test shows that the download tools make file download speed effectively improved.
关 键 词:多线程 HTTP协议 Windows套接字函数
分 类 号:TP393.093[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222