Description: delphi实现的bt下载器示例程序,带全部源码和BT协议
包中文件说明:
BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载
btutils.pas -- 核心bt组件
DCP*.pas -- SHA算法源码(复制自DEC组件包)
InetUtils.pas -- 提供Internet下载的函数库
SimpleSocks.pas -- socket组件(TCP)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档-realized bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm -- a simple bt downloader, supports multiple. torrent download documents btutils.pas -- the core components bt DCP *. pas -- SHA algorithm source code (copied from the DEC kits) InetUtils.pas -- providing Internet download library SimpleSocks.pas -- socket Group pieces (TCP) SortLists.pas -- Ranking List components ThreadTime r.pas -- and the timer thread pool DelayLists.pas -- a delay the release of another five seconds O return of the queue FastShareMem.pas, MemPools.pas. ShareGlobals.inc -- ThreadTimer internal use by Tor Bit rent Specification.htm -- BT agreement document Platform: |
Size: 58245 |
Author:vvyang |
Hits:
Description: 这是我本科毕业设计的作品。实现了Window下网络通讯编程,包含服务器端和客户端两方面程序。主要实现了以下几个功能:1.Socket API编程,而不是WinSock编程,代码可以很方便地移植到Unix系统下;2. 多线程的管理机制,整个系统由一个主线程、一个管理线程,一个监听线程,若干个工作子线程构成,很好地解决了多线程的管理,资源的释放。3. 程序可以在真实局域网络环境下运行(即在一个主机上运行服务器端程序,在另外多台机器上分别运行一个客户端,可以实现通信),也可以在一个虚拟的环境下运行、演示(即,在一个机器上既运行服务器程序,也可以同时运行多个客户程序,通过设置各个客户程序的IP参数来模拟多台客户机对服务器的访问)-This is my undergraduate graduate design work. Window achieved under network communications programming, including server and client both procedures. Major Implementation of the following functions : 1.Socket API programming, and not WinSock programming, code can be easily ported to Unix systems; 2. Multithreading management mechanism, the entire system from a main thread, a management thread, a thread monitoring, a number of work-thread structure, a good solution to the multi-thread management, Resources release. 3. Procedures in a real LAN operating environment (that is, in a mainframe running server applications, In another multiple machines were running a client, can achieve communications), also in a virtual operating environment, the demo (that is, in a machine running both the serve Platform: |
Size: 734694 |
Author:龚勋 |
Hits:
Description: delphi实现的bt下载器示例程序,带全部源码和BT协议
包中文件说明:
BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载
btutils.pas -- 核心bt组件
DCP*.pas -- SHA算法源码(复制自DEC组件包)
InetUtils.pas -- 提供Internet下载的函数库
SimpleSocks.pas -- socket组件(TCP)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档-realized bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm-- a simple bt downloader, supports multiple. torrent download documents btutils.pas-- the core components bt DCP*. pas-- SHA algorithm source code (copied from the DEC kits) InetUtils.pas-- providing Internet download library SimpleSocks.pas-- socket Group pieces (TCP) SortLists.pas-- Ranking List components ThreadTime r.pas-- and the timer thread pool DelayLists.pas-- a delay the release of another five seconds O return of the queue FastShareMem.pas, MemPools.pas. ShareGlobals.inc-- ThreadTimer internal use by Tor Bit rent Specification.htm-- BT agreement document Platform: |
Size: 58368 |
Author:vvyang |
Hits:
Description: 由delphi实现的bt下载器示例程序,带全部源码和BT协议
包中文件说明:
BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载
btutils.pas -- 核心bt组件
DCP*.pas -- SHA算法源码(复制自DEC组件包)
InetUtils.pas -- 提供Internet下载的函数库
SimpleSocks.pas -- socket组件(TCP)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档
采用TCP打洞~!-Delphi achieved by browser bt download sample procedures, with all the source and BT agreement documentation package: BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm- a simple bt download, and supports multiple. Torrent file to download at the same time btutils.pas- core bt components DCP*. pas- SHA algorithm source code (copy from the DEC Package) InetUtils.pas- to provide Internet download library SimpleSocks.pas- socket components (TCP) SortLists . pas- sort of the List components ThreadTimer.pas- timers and thread pool DelayLists.pas- a delay the release of five seconds and then Object queue FastShareMem.pas, MemPools.pas, ShareGlobals.inc- from ThreadTimer the internal use of Bit Torrent Specification.htm- BT agreement document using TCP holes ~! Platform: |
Size: 90112 |
Author:杨晓波 |
Hits:
Description: 以线程池的方式设计服务器,每个线程管理多个SOCKET-The way to the thread pool design server, each thread to manage multiple SOCKET Platform: |
Size: 12288 |
Author:熊文 |
Hits:
Description: 1) 利用InetAddress类的方法获取主机的名称和IP地址。
2) 利用URL类获取网络资源。
3) 使用Socket编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机,运用多线程机制,实现服务器同时处理多个客户机的请求。
4) 使用UDP编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机, 实现一个模拟电子邮件的发送和接收的UDP程序。
-1) using InetAddress class method to get the host name and IP address. 2) the use of URL-type access network resources. 3) the use of Socket Programming: client sends data to the server, the server will receive the data back to the client, using multi-thread mechanism, the realization of the server to handle multiple client requests. 4) the use of UDP programming: client sends data to the server, the server will receive the data back to the client to achieve a simulated e-mail sending and receiving the UDP process. Platform: |
Size: 55296 |
Author:朕 |
Hits:
Description: 多客户并发服务程序的实现。
熟悉socket的操作,掌握异步socket的使用方法,理解多线程的概念,初步掌握线程的编程方法。
程序必须在服务器端实现接受多个客户的服务请求并为它们服务,具体的,服务器端进行监听,接到客户的请求后服务器与客户建立连接,接受客户传送来的数据并将其发挥给客户端,服务器端和客户端的数据通信采用的是异步方式。
-Multi-client concurrent service program implementation. Are familiar with the operation of socket, master asynchronous socket to use and understand the concept of multi-threading, preliminary master thread programming method. Procedures must be achieved on the server side to accept multiple client service requests and for their service, specific, server-side to listen, the server receiving the client' s request to establish a connection with customers, customer acceptance of the data and transmit to play to the customer side, server-side and client-side data communication using an asynchronous way. Platform: |
Size: 3732480 |
Author:邵晓华 |
Hits:
Description: 由delphi实现的bt下载器示例程序,带全部源码和BT协议
包中文件说明:
BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载
btutils.pas -- 核心bt组件
DCP*.pas -- SHA算法源码(复制自DEC组件包)
InetUtils.pas -- 提供Internet下载的函数库
SimpleSocks.pas -- socket组件(TCP)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档-Implemented by the delphi bt downloader sample application with full source code and the BT protocol package file description: BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm- bt download a simple device to support multiple. Torrent file while downloading btutils . pas- Core bt component DCP*. pas- SHA algorithm source code (Copy from DEC Package) InetUtils.pas- to provide Internet download library SimpleSocks.pas- socket components (TCP) SortLists.pas- Sort the List component ThreadTimer.pas- Timer with thread pool DelayLists.pas- a delay for 5 seconds then release the Object of the queue FastShareMem.pas, MemPools.pas, ShareGlobals.inc- from the ThreadTimer internal use Bit Torrent Specification.htm- BT protocol document Platform: |
Size: 91136 |
Author:陈建军 |
Hits:
Description: VC++多个线程实例参考程序1,包括线程创建和使用socket编程-VC++ multiple instances of reference procedure 1 thread, including thread creation and use of socket programming Platform: |
Size: 46080 |
Author:cheng |
Hits:
Description: 一个基于TCP的socket聊天的小程序,运用了多线程,支持多人聊天,适合初学网络编程的人-a small chat program based on TCP,uses the multiple thread technology,supports servel penson chatting.suitable for for the newbies. Platform: |
Size: 13312 |
Author:吴彬洁 |
Hits:
Description: 多线程的socket编程,服务器可以处理多个客户端的请求,并创建线程进行处理。-Multithreaded programming socket, the server can handle multiple requests from clients, and create the thread processing. Platform: |
Size: 2449408 |
Author:王俊 |
Hits:
Description: 多线程的socket编程,服务器可以处理多个客户端的请求,并创建线程进行处理。-Multithreaded programming socket, the server can handle multiple requests from clients, and create the thread processing. Platform: |
Size: 2332672 |
Author:王俊 |
Hits:
Description: jdk供的无阻塞I/O(NIO)有效解决了多线程服务器存在的线程开销问题,但在使用上略显得复杂一些。在NIO中使用多线程,主要目的已不是为了应对每个客户端请求而分配独立的服务线程,而是通过多线程充分使用用多个CPU的处理能力和处理中的等待时间,达到提高服务能力的目的。
client多线程请求server端,server接收client的名字,并返回Hello! +名字的字符格式给client。当然实际应用并不这么简单,实际可能是访问文件或者数据库获取信息返回给client。-jdk for non-blocking I/O (NIO), an effective solution to the problem of multi-threaded server thread overhead, but too complicated to use minor. To use multiple threads, the main purpose is not to respond to each client request to allocate a separate service thread with multiple CPU processing power and processing wait time, but fully multi-threaded so as to enhance service capabilities in the NIO purpose. This time in the NIO, to write an article blog to remember the things you learned. Or from the most simple Hello World, multi-threaded the client requests the server side, the server receiving the client s name, and return to the Hello!+ The name of the character format to the client. Of course, the practical application is not so simple, the actual access to the file or database to obtain the information returned to the client. The non-blocking NIO What is the mystery? Platform: |
Size: 165888 |
Author:陈云凤 |
Hits:
Description: 基于多线程Select异步模型的的TCP服务端,客户端网络Socket调试工具
这是我用API封装的,供调试Socket程序用的
有客户端和服务端
两个程序都是基于Select异步模型的,其中服务端还用到了多线程技术,保证了多客户端的连接
都是消息触发和回调的
用多线程就能够保证多客户端的同时连接,要满足更多的客户端连接,要用到线程池模型,有待于更进一步的探讨和研究
QQ:593485230
E-mai:cangzhu@163.com -Multithreaded Select asynchronous model of TCP server, client network Socket debugging tools I use the API package for debugging Socket program with both client and server programs are based on the Select asynchronous model, which The server also uses multi-threading technology, client connections are messages trigger and use multiple threads at the same time will be able to guarantee multi-client callback connections to meet more client connections, thread pool model to be used for , pending further discussion and research QQ: 593 485 230 E-mai: cangzhu@163.com Platform: |
Size: 70656 |
Author:xxx |
Hits:
Description: 稳定易用的大容量 windows socket api 封装库,采用重叠完成端口模型实现,引擎采用异步消息控制,实现了一个简明易用的网络框架,发送和接收数据全都采用异步模式,发送和接收数据都不会给调用线程带来等待或者延迟,同时引擎实现了两种通信模式,流模式和消息模式,可以节省用户大量的构建时间。
引擎内部实现参考了 ACE 的种种概念,比如 proactor(预先操作,前摄器),task(任务),主动对象(Active Object),message queue(消息队列),lock(锁),guard(锁守护).
在内部需要缓存的发送和接收的数据会被放入内存池,引擎会循环使用内存池中的内存,不会产生内存碎片,影响系统的稳定性
引擎实现了统一的监听和连接机制,同一个实例可以同时开多个端口监听同时开多个连接,能够大大的方便用户的使用-Stable and easy-to-use large-capacity windows socket API package library, overlapping completion port model, engine uses asynchronous message control, a concise and easy-to-use network framework, all send and receive data using asynchronous mode, do not send and receive data give the calling thread to to bring wait or delay, engine implements two modes of communication, flow mode and message, you can save the user a lot of time to build. Inside the engine to achieve the reference ACE various concepts, such as Proactor (pre-operation, proactive), task (task), the active object (Active Object), message queue (message queue), lock (lock), guard (lock daemon) send and receive data in the internal cache will be placed in the memory pool, the engine will cycle the memory of the memory pool, does not produce memory fragmentation, affect the stability of the engine to achieve a unified monitoring and connection mechanism with an instance can open more than one port to listen to open multiple c Platform: |
Size: 2311168 |
Author:pilgarlicx |
Hits:
Description: 多线程实现:
需求:1、实现服务器与客户端的通信,服务器可接收多个客户端。
2、服务器发送消息时,所有客户端都可收到。
3、客户端发送信息时,只有服务器可收到。
4、服务器发送“bye”时,包括服务器程序及所有客户端程序都结束,客户端发送“bye”时,本客户端结束(当然,服务器对应的线程也会结束)。
5、服务器要在输出客户端消息时,要连同对应客户端的IP一起输出。
-Multithreading: Requirements: 1, server and client communications, the server can receive multiple clients. 2, the server sends a message, all clients can receive. 3, the client sends information, only the server can be received. 4, the server sends " bye" when including the server program and the end of all client programs, the client sends " bye" , the client end (of course, the server corresponding thread also ends). 5, the server to the client in the output message to the client' s IP with the corresponding output together. Platform: |
Size: 2048 |
Author:郭坤坤 |
Hits:
Description: 多人聊天室
1、在Linux下采用socket实现多进程间的通信
2、采用TCP/IP协议进行数据传输
3、服务端采用多线程技术支持多用户同时登陆
4、支持客户端之间直接通信-Chat room
1, using multi-socket communication between processes in Linux
2, using the TCP/IP protocol for data transmission
3, the server uses multi-thread technology to support multiple users simultaneously log
4, support for direct communication between the client Platform: |
Size: 12288 |
Author:尤晓峰 |
Hits: