-
C# development server and client communications programs for beginners to learn
C# 开发的服务器与客户端通信程序
适合初学者学习-C# development server and client communications programs for beginners to learn
- 2022-02-15 01:05:14下载
- 积分:1
-
多线程服务器源代码,基于winsock2编写
多线程服务器源代码,基于winsock2编写-server_mutilthread.cpp,base on winsock2
- 2022-02-06 03:02:41下载
- 积分: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
-
短信平台的二次开发 很好用的啊是别的公司开发的,其中的有详细的说明文档...
短信平台的二次开发 很好用的啊是别的公司开发的,其中的有详细的说明文档-messaging platform in the secondary development of a good ah it is for other companies in the development, which is described in detail in documents
- 2022-07-13 02:08:17下载
- 积分:1
-
a TracerT example, as a very simple, You can directly use has finished inside th...
一个TracerT的例子,作为一个很简单的例子,你可以直接用已经完成的类里面,我们可以设置你写的上面的公式
- 2022-01-26 20:12:53下载
- 积分:1
-
在线更新的实现源程序
在线更新的实现源程序-online update the realization source
- 2023-02-20 03:25:04下载
- 积分:1
-
一个关于网络版的即时通讯聊天系统源代码。
一个VisualC++版本的Network即时消息聊天系统的源码。-a VisualC Network version of the instant messaging chat system source code.
- 2022-03-30 09:06:28下载
- 积分:1
-
开发研制的全双工套接字通信程序
一个用VC开发的全双工Socket通讯程序- The entire duplex Socket communication procedure which develops
with VC
- 2022-03-14 10:31:05下载
- 积分:1
-
关于在windows下使用vc++ 进行udp网络编程demo
关于在windows下使用vc++ 进行udp网络编程demo-On windows use vc++ For udp network programming demo
- 2022-07-01 06:19:02下载
- 积分:1
-
用VC开发的IPv6通信程序.感兴趣的同行可以下载借鉴.
用VC开发的IPv6通信程序.感兴趣的同行可以下载借鉴.-VC developed using IPv6 communications procedures. Interested in can be downloaded from the peer.
- 2022-12-30 07:10:04下载
- 积分:1