-
UDP收包程序例子,基于非阻塞模式socket,并利用select()实现接收超时。...
UDP收包程序例子,基于非阻塞模式socket,并利用select()实现接收超时。-UDP packet admission procedure examples, based on the non-blocking mode of socket, and use select () to receive overtime realize.
- 2022-07-11 16:13:57下载
- 积分:1
-
DNS解析系统,通过发送DNS协议包到DNS服务器来获取DNS
DNS解析系统,通过发送DNS协议包到DNS服务器来获取DNS-DNS analysis system, the agreement by sending a DNS packet to the DNS server to obtain the DNS
- 2022-05-05 23:07: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
-
完整的FTP上传、下载代码,压缩包内的DEMO直接用一个FTP站点做测试,请各位不要删站点内的东西。...
完整的FTP上传、下载代码,压缩包内的DEMO直接用一个FTP站点做测试,请各位不要删站点内的东西。-integrity of the FTP upload, download code and compressed within the DEMO direct an FTP site testing, please do not delete everything inside the site.
- 2022-05-14 21:31:47下载
- 积分:1
-
简单的Delphi 7的UDP聊天程序
简单的delphi7 UDP聊天程序
- 2022-04-25 02:59:59下载
- 积分:1
-
vb 写的防火墙,可以与自己加载一些另外的安全功能
vb 写的防火墙,可以与自己加载一些另外的安全功能-vb wrote firewalls, can be loaded with its own number of additional security features
- 2023-01-20 04:45:03下载
- 积分:1
-
模式套接字编程,可视基本代码
c/s模式socket编程,Visual Basic代码-c/s mode socket programming, Visual Basic code
- 2022-06-28 01:04:30下载
- 积分:1
-
Socket 异步通信,用户可以用不同的方式 不必须等待一个操作结束,然后在做别的操作,可以并行操作Socket。...
Socket 异步通信,用户可以用不同的方式 不必须等待一个操作结束,然后在做别的操作,可以并行操作Socket。-Socket asynchronous communication, users can use a different method does not have to wait until the end of an operation, and then doing other operations, operating in parallel socket.
- 2022-05-17 00:03:27下载
- 积分:1
-
A very simple network traffic statistics, a very small footprint, starts fast.
非常简洁的网络流量统计,占用资源极小,启动快速.-A very simple network traffic statistics, a very small footprint, starts fast.
- 2022-08-07 05:28:07下载
- 积分:1
-
Borland C++ Builder制作有论证的邮件发送程序,同时还增加了附件功能...
Borland C++ Builder制作有论证的邮件发送程序,同时还增加了附件功能-Borland C Builder has produced proof of mailing procedure, and also increased the attachments
- 2023-02-26 17:00:03下载
- 积分:1