搜索资源列表
用ftp协议完成多线程断点续传的源码
- 各个线程任务分配是这样实现的。在开始下载时,文件平均分成若干块进行下载。如第一个线程一开始的任务是从文件的0位置开始下载一直到72908位置处。线程1每次下载一块数据后就要调整任务,如第一次下载了20800字节的数据,那么线程1的任务将改为:20800-72908。如此下去,直到任务为72908-72908时表示线程1完成了当前的下载任务。此时,线程1就分析各个线程的任务,找出任务最为繁忙的一个线程:如线程3:14816-218724。那么线程1就自动去调整任务,拿50%的任务来再次下载。周而
javatime4
- java日历,一个用JAVA编写的时钟程序主要是用到线程-java calendar, a JAVA prepared with the clock procedure is mainly used threads
新浪网新闻自动采集程序
- 新浪网新闻自动采集程序,原理是下载一个页面到本地,分析链接,循环下载,使用了多线程! 希望对初学者有用-automatic collection procedures, principle is to download a page of the local, link analysis, download cycle, the use of multiple threads! Hope useful for beginners
窗口协议
- 由一台 PC (线程)向另一台 PC (线程)发送数据包,界面应显示出双方帧个数变化,帧序号,发送和接受速度,暂停或重传提示等,界面中必须动态显示数据帧的发送情况和接受情况,包括 在相应窗口详细 显示相应的 ACK 和 其他收发数据帧后发出的消息 ,以表明模拟协议的正确运作过程。 • 接收方及发送方应具有按序收发帧的能力; • 接受方应有固定大小的滑动窗口,并对收到信息缓存。当发送方速度过快或帧丢失(超时),接受方应发送消息,要求暂停或重传(停 -- 等协议);
TCPCom
- 看了袁渊先生在VC知识库《在线杂志》第14期发表的文章《基于TCP/IP的局域网多用户通信》,感觉受益颇多,但也觉得里面有一些不太完善的地方,具体来说主要有: 1、两个服务器单独运行,且主线程均阻塞,用户界面死锁,不便于控制; 2、聊天服务器线程和互斥量的使用可能导致死锁; 3、不能实现文件传送(文件传送可不能由服务器转发,否则非把它累趴下不可^-^); 4、不能由用户进行网络设置,所以在不同的网络使用必须修改源程序等等; 我在此基础上重新设计编写了一个系统
jthread-1.1.1
- 利用RTP/RTCP协议线程的几个例子,适用于初学者,希望对大家有帮助!RTP/RTCP协议是居于UDP传输的-using RTP / RTCP threads of a few examples, applicable to beginners, we want to help! RTP / RTCP live UDP transmission
PointToPoint
- 实现网络中点对点聊天,通过的线程发送,调用!-achieve peer-to-peer chat network, sent through the threads, call!
jthread-1.1.2.tar
- 这是JRTPLIB编译时须用到的线程库,解压后便宜即可生成JRTPLIB.LIB-compiler to be used for the threads, unpacked cheaper can be generated JRTPLIB.LIB
Proxy_corba
- 代码通过corba的Name service实现了一个简单的corba代理服务功能。其中名字服务采用了一个windows独立线程,代码非常详细。 开发环境:vc6+Orbacus4.1.0 -code through the Name of the service to achieve a simple corba agent services. These services use the name of an independent windows threads, code ver
jthread-1.4.0
- 顶顶有名的JRTPLIB库的线程支持程序,最新版本 符合RFC3555规范,大家共享-after another famous JRTPLIB threads library support program, the latest version with RFC3555 norms, share
cfdgnjsq
- 1.计数器数字图片和统计图标两种机制共存,众多设置可调。 2.scr ipt脚本和Img非脚本两种方式调用计数器,Img非脚本方式计数器可以在任何能插入图片的地方使用。 3.独有的错误自动修复机制,能在计数器发生错误后自动修复。 4.完全杜绝并发线程容易对数据库造成的损坏,在流量大的网站上使用表现很稳定。 5.缓存机制,在缓存中保存数据,操作常见动作,大量减少对数据库的增加,删除频繁的操作。-1. Counter digital photos and statistics
wenjiandaima
- 用java编写的多机计算的程序,程序的目的是一个服务器端向多个客户端发送一个数据,其他客户端进行计算。有线程,可以连接多台计算机。依电脑负荷。-prepared with the more computing procedures, the purpose of a server to multiple client sends a data and other client computing. There are threads, which can connect multiple com
udpservermoni
- 建立接收socket,将socket和指定的端口绑定 2、创建接收线程,在线程中调用ioctlsocket()判断是否接收到数据,接收到数据时调用OnReceive()(类似CSocket中的OnReceive()) 3、在OnReceive中申请空间调用recvfrom接收数据 4、建立发送socket,和INADDR_ANY绑定 5、调用sendto发送数据 -establishment receiving socket, the socket and designate
11-Thread
- 从一本书上拷贝下来的线程的例子。。打包上传 供学习-from a book to copy down the threads example. . Upload packages for learning
ServerSocket_demo
- 非常好的Socket多线程编程例子,可用作客户端或者服务端,可以实现TCP或者UDP通信,可以同时创建n个线程-very good example of multi-threaded programming, can be used as a client or server, can achieve a TCP or UDP communications, it will also create threads n
SocketAnsycommunication
- Socket异步通信,线程,双端队列示程序代码: 1.正确的开始和终止线程 2.可以局域网内多人聊天 3.双端队列的设计和应用 -Socket asynchronous communication, thread, double-teams listed in the program code : 1. correct start and termination of two threads. can chat over LAN 3. Double-cohort design and appli
Register_ThreaPool
- 线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。-thread creation, destruction and scheduling itself is a cost, if the threads of a relatively simple task. That time and space costs can not be ignored, th
emfdr_1_0
- Delphi版的邮箱搜索程序源代码,功能如下: 可以在因特网上自动搜索邮箱 支持vbscr ipt和javascr ipt脚本语法 允许微调线路设置 允许代理设置/搜索层数设置/工作线程数设-Delphi version of the mail source code search procedures, functions as follows : on the Internet can automatically search and mail support vbsc
loadingSample1
- 密码xm 多线程. 请解压自己看, 请解压自己看-password xm threads. Please look extract, extract themselves, please look extract
CSocket.doc
- 因为CSocket类要用到窗口的消息机制才能进行收发,所以用线程不可以这样用的,你可以参考用如下的方法: 将.ZIP去掉即可,不必解压-because CSocket use the information to the window mechanism can be carried out transceivers, Therefore, the use of threads can not be used, you can refer to the methods used are a
