-
局域网聊天程序,获取局域网内活动机子(10人左右),实时。TAB为发关消息快热键。仅供局域网使用,学习资料...
局域网聊天程序,获取局域网内活动机子(10人左右),实时。TAB为发关消息快热键。仅供局域网使用,学习资料-LAN chat program, LAN access within the machine (about 10), real-time. TAB for the quick hotkey related news. Only LAN use, learning materials! !
- 2022-05-30 15:28:09下载
- 积分:1
-
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载...
各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724。那么线程1就自动去调整任务,拿50%的任务来再次下载。周而复始直到各个线程都完成任务。不过这里有一点需要注意:为了避免重复下载部分数据,在调整任务的时候,起始的文件便移量必须加上接受缓冲器的字节数,因为如前面所举的列子来看。线程1和线程3在平衡负载的时候,线程正在下载数据,如果所剩的数据比接受缓冲器的大小还小,线程1和线程3的部分下载数据将会重复。
在调整任务和分析任务的时候,会发现一个问题。就是读取文件数据太过频繁。于是我用了一个数据结构。在下载文件的过程中始终打开配置文件,这样速度提高了很多。在文件下载完毕后关闭文件。-various threads assignment is achieved. At the beginning of the download, the paper divided into a number of pieces of the download. As a thread of a task is to start from the position paper of 0 to start the download has 72,908 locations Department. Thread a download each one will have to adjust the data tasks, such as the first downloaded 20,800 gigabytes of data, then threaded a task will be re :20800- 72908. This situation continues until the mandate of 72908-72908 said threaded a completion of the cu
- 2022-03-20 03:50:55下载
- 积分:1
-
将图片以网页的形式在MFC 多文档程序中浏览。
将图片以网页的形式在MFC 多文档程序中浏览。-use mfc view the pictures in the form of html.
- 2022-01-26 05:53:00下载
- 积分:1
-
用VC++写访问IP程序,已经编译通过的使用参数。
用VC++写的获得IP程序,已经编译通过,使用时去掉文件只读属性,编译即可,很实用的,供参考-With VC++ Write access to IP procedures, has been compiled through the use of paper when removed read-only attribute, the compiler can be very useful for reference
- 2022-08-12 07:13:47下载
- 积分:1
-
ace源代码中附带的管理日志服务器实现的一个具体的小例子,希望能上传成功...
ace源代码中附带的管理日志服务器实现的一个具体的小例子,希望能上传成功-ace in the source code attached to the log management server of a specific implementation of a small example of the hope of a successful upload
- 2023-01-29 20:20:03下载
- 积分:1
-
FLASH source material
FLASH素材源码-推荐企业网站FLASH标头推 荐企业网站FLASH标头-FLASH source material-recommended websites FLASH header re commended websites FLASH header re commended websites FLASH header
- 2022-03-23 20:57:54下载
- 积分:1
-
一个简单的IE浏览器,支持收藏夹,支持FLASH等,可以作为一个绿色浏览器...
一个简单的IE浏览器,支持收藏夹,支持FLASH等,可以作为一个绿色浏览器-IE a simple browser, support for favorites, such as support of FLASH can be used as a green browser
- 2022-11-27 08:20:03下载
- 积分:1
-
众所周知
基于使用RawSocket无法实现监听本机发送的数据
本代码实现了 基于SPI监听所发送数据的功能...
众所周知
基于使用RawSocket无法实现监听本机发送的数据
本代码实现了 基于SPI监听所发送数据的功能 -As we all know can not be achieved based on the use of eavesdropping RawSocket send the local data of the code based on the SPI to monitor the function of sending data
- 2022-07-08 03:09:49下载
- 积分:1
-
projectxi是服务器
ProjectXI是一个基于FF11的服务器端模拟器-ProjectXI is a server-side FF11-based simulator
- 2022-08-11 14:24:48下载
- 积分:1
-
MFC基于对话框的Ftp上传下载软件!学习交流使用!
MFC基于对话框的Ftp上传下载软件!学习交流使用!-MFC dialog-based Ftp upload download software! Learn to use!
- 2023-08-10 05:30:04下载
- 积分:1