-
网络开发工具包,包含三个类:服务器,客户端和消息队列
网络开发工具包,包含三个类:服务器,客户端和消息队列 -Tool lib for network development, contains three class : server, client and message queen
- 2022-03-07 09:06:46下载
- 积分:1
-
最新的borland社区聊天的客户端程序
最新的borland社区聊天的客户端程序-latest community chat client
- 2022-04-30 10:47:16下载
- 积分:1
-
MFC详细的讲述了异步套接字的特点和原理,并且附带源码,界面完整,很具有参考价值...
MFC详细的讲述了异步套接字的特点和原理,并且附带源码,界面完整,很具有参考价值-MFC detail asynchronous socket characteristics and principles of, and incidental source, interface integrity, is a reference value
- 2022-02-27 06:02:53下载
- 积分:1
-
tcp client wince.net 使用
tcp client wince.net 使用-tcp client wince.net use
- 2022-06-28 07:17:56下载
- 积分:1
-
linux下的文件传输系统,有客户端和服务器端
linux下的文件传输系统,有客户端和服务器端-Under linux file transfer system, a client-side and server-side
- 2022-02-12 02:09:03下载
- 积分:1
-
一个java编写的读取和操作html文件的元程序,可以随意读取html文件中的任意一个标记...
一个java编写的读取和操作html文件的元程序,可以随意读取html文件中的任意一个标记-prepared a java read html file and operating procedures of the yuan can read arbitrary html document an arbitrary marker
- 2022-09-04 13:50:03下载
- 积分:1
-
利用WINSOCK的通信协议 用VC++编写
利用WINSOCK的通信协议 用VC++编写-WINSOCK use the communication protocol used VC++ Prepared
- 2022-05-18 05:19:38下载
- 积分:1
-
一个轻量级网络编程框架 前面上传的socketman是跨平台的C++版本,我弄成VC版本了,请站长达人修改一下。...
一个轻量级网络编程框架 前面上传的socketman是跨平台的C++版本,我弄成VC版本了,请站长达人修改一下。-a lightweight framework for network programming uploaded socketman ahead of cross-platform C version, I ended up version of the VC, with many people again.
- 2022-05-09 13:53:58下载
- 积分:1
-
有关于文件在网络中的传输问题,有喜爱地的铜须邪恶 北大学而生...
有关于文件在网络中的传输问题,有喜爱地的铜须邪恶 北大学而生-On file in the network transmission problems, there are favorite places of copper to be born evil, North University of China
- 2022-03-17 19:36:49下载
- 积分: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