登录
首页 » Windows Socket编程 » 完美的完成端口服务器,性能稳定.可以连接上千个客户端.

完美的完成端口服务器,性能稳定.可以连接上千个客户端.

于 2022-05-22 发布 文件大小:173.15 kB
0 275
下载积分: 2 下载次数: 1

代码说明:

完美的完成端口服务器,性能稳定.可以连接上千个客户端.-perfect completed port servers, stable performance. Thousands can be connected to the client.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MFC的聊天软件是一个小麻雀,幸运的是学习网络的所有权利…
    mfc的聊天软件麻雀虽小 五脏具全对学习网络开发学习有帮助希望大家能喜欢-mfc chat software is a small sparrow fortunately all right with learning network to help develop learning like to hope that we can
    2023-06-23 00:55:03下载
    积分:1
  • Mouse acquire, at any time to realize the mouse can be used, not as the callback...
    鼠标的获取,实现鼠标在任意时候都可以使用,不用在回调函数里面那样繁琐-Mouse acquire, at any time to realize the mouse can be used, not as the callback function inside the red
    2022-08-13 16:27:36下载
    积分:1
  • VC++ socket 客户端 服务器 聊天室
    VC++ socket 客户端 服务器 聊天室-VC++ socket client-server chat room
    2022-06-26 18:11:10下载
    积分:1
  • 一个很好的来源的TFTP
    一个不错的TFTP源代码-a good source TFTP
    2023-09-08 14:45:04下载
    积分: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
  • Can complete a basic web browser HTTP protocol like students to master knowledge...
    可以完成基本的网页浏览似的学生掌握HTTP协议的相关知识,加深对客户/服务器的工作模式的认识,并进一步锻炼学生的网络软件编程能力和解决实际问题的能力。-Can complete a basic web browser HTTP protocol like students to master knowledge, deepen their understanding of client/server mode of understanding and to further our students the capacity and network software programming to solve practical problems.
    2022-07-11 13:21:02下载
    积分:1
  • 对csmaca算法rts
    对csmaca算法rts-cts机制的改进策略,值得一看-Csmaca algorithm to rts-cts mechanisms to improve the strategy, see
    2022-07-21 00:33:01下载
    积分:1
  • 序能够将指定网址的文件下载到你所指定的文件里
    本程序能够将指定网址的文件下载到你所指定的文件里-This procedure can be specified URL file download to your specified file
    2022-09-03 01:20:02下载
    积分:1
  • Project monitoring, the introduction of the purpose, process, tasks, monitoring...
    项目监控的介绍,介绍了目的、流程、任务进度监控以及相关的表格运用等。-Project monitoring, the introduction of the purpose, process, tasks, monitoring progress, as well as the use of related forms.
    2022-04-19 10:37:50下载
    积分:1
  • 网页中判断国家的代码,在网页中嵌入这段代码可以辨别出国家。具体的文件中有说明...
    网页中判断国家的代码,在网页中嵌入这段代码可以辨别出国家。具体的文件中有说明-page judgment of a code embedded in the Web page source code can identify a country. Specific documentation is explained
    2023-03-20 19:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载