搜索资源列表
AsyncSSLClient
- 配合异步socket使用SSL的例子。异步Socket可以使用很少的线程(最少只需要一个线程)就能管理大量的连接-with asynchronous socket using SSL example. Asynchronous Socket can use a few threads (at least only one thread) will be able to manage a large number of connections
IocpPool
- IOCP 线程池的 delphi 实现,其中 IOCPPool.pas 封装了主要的控件和池的实现,十分有参考价值-IOCP thread pool delphi realized, IOCPPool.pas Packaging, which the main pool and controls to achieve great reference value
SOCKET-TCP
- SOCKET多线程,使用TCP连接,当有一个连接请求时候,建立一个线程。共有两个文件,一个Server,还有一个是Client-SOCKET multithreading, the use of TCP connections, when a link request, the establishment of a thread. A total of two documents, one Server, there is a Client
WinTunnel_src
- 一个经典的socket到http的转换程序,线程池实现-a classic http socket to the conversion process, Thread Pool
ThreadPool_final.rar
- 此代码作为Server,使用TCP Socket编程技术,利用多线程并发,并且使用了线程池技术,修改宏定义可以实现任意路client并发连接到此服务器,This code as a Server, using TCP Socket programming using concurrent multi-threaded, and uses the thread pool technology, to amend the definition of macros can be complicated
Chat_Socket
- 实现“一对多的自由”聊天程序: (1)服务器端用户可以和多个客户聊天; (2)服务器端通过多线程与与每个客户端用户连接; (3)服务器端线程ID标识客户端用户;其中一方通过控制台输入消息,依次轮流向另一方发送数据。-Achieve " the freedom of one to many" chat program: (1) server-side user can chat with multiple customers (2) through a multi-
TCPIP
- 它是TCP/IP中,线程同步的客户端各服务器端程序。利用了死锁及条件变量-It is the TCP/IP in the client thread synchronization server-side program. Deadlock and conditions of use of variables
threadpool.src.tar
- 跨平台的线程池。在windows的VC下或unix/linux下都能运行。-Cross-platform thread pool. run under both the VC in the windows or unix/linux.
4GClientAutoUpdataServer
- 传奇4G的客户端更新服务器功能很强大,是学习Tcp/IP的好例子,里面有TCP/IP线程池的基础模型。-Legend 4G client update server functionality is very powerful, is to learn Tcp/IP a good example, which have TCP/IP base model of the thread pool.
x-net
- IOCP(I/O Completion Port,I/O完成端口)是性能最好的一种I/O模型。它是应用程序使用线程池处理异步I/O请求的一种机制。在处理多个并发的异步I/O请求时,以往的模型都是在接收请求是创建一个线程来应答请求。这样就有很多的线程并行地运行在系统中。而这些线程都是可运行的,Windows内核花费大量的时间在进行线程的上下文切换,并没有多少时间花在线程运行上。再加上创建新线程的开销比较大,所以造成了效率的低下。 -IOCP (I/O Completion Port, I/O
TCPThreadServer
- 通过多线程实现对通信的接收和发送,创建接收线程和创建发送线程来具体实现。-To achieve through the multi-threaded communications receive and transmit, create receiver threads and thread to create a concrete realization sent.
UDPClient
- 一个UDP客户端的实现,可以直接使用,效率还不错-An implementation of UCP Client thread.
appplet
- 在使用声音文件的时候,特地引用了一个媒体文件,是JDK本身没有的,程序不安装JMF是无法听到声音的。之后,在线程应用上,建立两个相应的线程就可以完成任务了。在效果上能够让人感觉到是同步进行,但应当实际理解为程序的运行是线性的,在单CPU上是不可能出现并行的。-At a time when the use of sound files, specifically citing a media file, the JDK does not, the program not to install JM
TestScktIocp
- 与ScktComp兼容的IOCP服务端组件 参考了IOCPComp组件和ScktComp组件,可以直接替换ScktComp的TServerSocket 其中的事件方法大致相同,同于本身的IOCP特性,不再提供原TServerSocket的线程阻塞选项.核心文件(ScktIocp.pas) 测试时先导入注册表文件,修改连接数,在XP下测试可连接3万个连接. 用FastMM4测试,没有发现内存泄漏,应用大规模服务还有待测试. 如发现有错误之处请更正后通知本人.-ScktComp
UDPTCP
- 该程序充分利用了JAVA的多线程,完成写文件和刷新界面,在不同的线程间还有调用关系,因为考虑到网络数据的不稳定性,即有时数据量比较小,有时数据包很多,如果一个线程就会出现在数据量高峰时严重掉包(编程初期的时候,已试过)。所以引入多线程,这样在数据包不多的时候,能够使得数据包多的时候没有完成保存工作的线程能够继续完成保存工作。-The program makes full use of the multi-threaded JAVA, write documents and complete th
HttpDownload
- http多线程下载的例子,支持断点续传,进过测试可用,学习线程编程和网络编程比较好的例子-http example of multi-threaded downloads and support HTTP, enter the test can be used to learn programming and network programming thread better example
linux_file_transfer
- Linux中利用socket透過server,兩個client端傳送與接收檔案,可在code中設定ip/port,為linux入門者參考code,有使用thread,故編譯時要加一條-lpthread-Socket through the use of Linux in the server, two client-side to send and receive files, can be set in the code in the ip/port, for the entry-linux
MultiThreadServer
- 使用TCP/IP协议写的一个服务器端应用程序,使用线程池技术,实施对端口进行监听。-Using the TCP/IP protocol write a server-side application, using the thread pool technology to monitor the implementation of the port.
Thread
- 多线程测试源代码。应用程序向导已为您创建了此 Thread 应用程序。 本文件概要介绍组成 Thread 应用程序的 的每个文件的内容。 Thread.vcproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件, 其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 Thread.cpp 这是主应用程序源文件。-Multi-threaded test source c
multi-thread-server-mode
- Common programming model of multi thread server多线程服务器的常用编程模型-Common programming model of multi thread server
