登录
首页 » Windows Socket编程 » codeguru上的一个网络编程框架

codeguru上的一个网络编程框架

于 2022-06-01 发布 文件大小:982.82 kB
0 262
下载积分: 2 下载次数: 1

代码说明:

codeguru上的一个网络编程框架-codeguru the framework of a network programming

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

发表评论

0 个回复

  • 扫描局域网内的所有机器信息,包括IP地址、主机名等。
    扫描局域网内的所有机器信息,包括IP地址、主机名等。-Scan LAN for all machines, including IP address, host name and so on.
    2023-05-25 03:15:03下载
    积分:1
  • ~ A bubble sort algorithm to sort the option of sorting algorithms. Example, int...
    排序~有冒泡排序算法 还有选择排序算法。例子中介绍了2中排序 简单明了-~ A bubble sort algorithm to sort the option of sorting algorithms. Example, introduced the two in simple sorting
    2022-07-11 22:07:10下载
    积分:1
  • 局域网内的所有机器,都应该能够收到广播语音.c实现
    局域网内的所有机器,都应该能够收到广播语音.c实现-of all machines, should be able to broadcast voice. C to achieve
    2022-04-08 13:07:17下载
    积分:1
  • 使用winpcap对报文进行过滤(需要下载winpcap库)
    使用winpcap对报文进行过滤(需要下载winpcap库)-winpcap use of the packet filter (download winpcap Treasurer)
    2023-04-24 09:25:03下载
    积分:1
  • embest provided under arm system architecture instruction set reference
    embest提供的arm系统架构下的指令集参考-embest provided under arm system architecture instruction set reference
    2022-03-22 02:59:44下载
    积分: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
  • UDP在网络中用于处理数据包,本文实现在java中操纵UDP.
    UDP在网络中用于处理数据包,本文实现在java中操纵UDP.-UDP is used for dealing with data packet. This file is implementing that how to control UDP protocol with Java
    2022-03-11 12:47:53下载
    积分:1
  • 一个不错的网络拨号程序! 用vc6开发的,相当不错,在win2000,xp上编译通过!...
    一个不错的网络拨号程序! 用vc6开发的,相当不错,在win2000,xp上编译通过!-a good network of dial-up procedures! With vc6 development, which is pretty good, WIN2000, xp compiled through!
    2022-04-17 21:20:02下载
    积分:1
  • 基于WINSOCK的信息交互
    通过serverSocket.Accept()来接收客户Socket的连接请求,在这里用循环可以实现该线程实时侦听,而不是只侦听一次。当程序运行serverSocket.Accept()时,会等待,直到有客户端Socket发起连接请求时,获取该客户Socket,如上面的clientSocket。在这里我用多线程来实现与多个客户端Socket的连接和通信,一旦接收到一个连接后,就新建一个线程,执行ReceiveData功能来实现信息的发送和接收
    2022-03-19 00:10:54下载
    积分:1
  • 用c++builder写的检测网络通畅与否的工具,可用于自动机器人对服务器监控,网络状态检测等,在bcb6下编译通过...
    用c++builder写的检测网络通畅与否的工具,可用于自动机器人对服务器监控,网络状态检测等,在bcb6下编译通过-c builder with a detection network was open or not the tool can be used to automatically control robot to the server, network performance testing, the compiler through bcb6
    2023-04-16 04:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载